public class FileTextureArrayData extends java.lang.Object implements TextureArrayData
TextureArrayData.Factory| Constructor and Description |
|---|
FileTextureArrayData(Pixmap.Format format,
boolean useMipMaps,
FileHandle[] files) |
| Modifier and Type | Method and Description |
|---|---|
void |
consumeTextureArrayData()
Uploads the pixel data of the TextureArray layers of the TextureArray to the OpenGL ES texture.
|
int |
getDepth() |
int |
getGLType() |
int |
getHeight() |
int |
getInternalFormat() |
int |
getWidth() |
boolean |
isManaged() |
boolean |
isPrepared() |
void |
prepare()
Prepares the TextureArrayData for a call to
TextureArrayData.consumeTextureArrayData(). |
public FileTextureArrayData(Pixmap.Format format, boolean useMipMaps, FileHandle[] files)
public boolean isPrepared()
isPrepared in interface TextureArrayDatapublic void prepare()
TextureArrayDataTextureArrayData.consumeTextureArrayData(). This method can be called from a non OpenGL thread and
should thus not interact with OpenGL.prepare in interface TextureArrayDatapublic void consumeTextureArrayData()
TextureArrayDataTextureArrayData.prepare() must preceed a call to this method. Any internal data structures created in TextureArrayData.prepare()
should be disposed of here.consumeTextureArrayData in interface TextureArrayDatapublic int getWidth()
getWidth in interface TextureArrayDatapublic int getHeight()
getHeight in interface TextureArrayDatapublic int getDepth()
getDepth in interface TextureArrayDatapublic int getInternalFormat()
getInternalFormat in interface TextureArrayDatapublic int getGLType()
getGLType in interface TextureArrayDatapublic boolean isManaged()
isManaged in interface TextureArrayData