public class NPOTTexture extends Texture
DEFAULT_HEIGHT, DEFAULT_WIDTH
Constructor and Description |
---|
NPOTTexture(int width,
int height,
RGBColor col)
Creates a new NPOT texture.
|
add, applyEffect, compress, defaultTo4bpp, defaultToKeepPixels, defaultToMipmapping, enable4bpp, enableClamping, getArraySize, getDepthBuffer, getExternalId, getHeight, getMemoryUsage, getWidth, isEnabled, keepPixelData, overrideTexelData, removeAlpha, removeEffect, removePixels, setAsShadowMap, setClamping, setDepthBuffer, setEffect, setEnabled, setExternalId, setFiltering, setMipmap, setMipmapMode, setTextureCompression
public NPOTTexture(int width, int height, RGBColor col)
width
- the width of the texture.height
- the height of the texture.col
- the color. Can be null for render targets.