TextureArray to load the pixel data. The TextureArray will request the TextureArrayData to prepare itself
through prepare() and upload its data using consumeTextureArrayData(). These are the first methods to be
called by TextureArray. After that the TextureArray will invoke the other methods to find out about the size of the image data,
the format, whether the TextureArrayData is able to manage the pixel data if the OpenGL ES context is lost.
Before a call to either consumeTextureArrayData(), TextureArray will bind the OpenGL ES texture.
Look at FileTextureArrayData for example implementation of this interface.
| Modifier and Type | Class and Description |
|---|---|
| public static class | TextureArrayData.
Provides static method to instantiate the right implementation. |
| Modifier and Type | Method and Description |
|---|---|
| public void | consumeTextureArrayData()
Uploads the pixel data of the TextureArray layers of the TextureArray to the OpenGL ES texture. |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public boolean | |
| public boolean | |
| public void |
| consumeTextureArrayData | back to summary |
|---|---|
| public void consumeTextureArrayData() Uploads the pixel data of the TextureArray layers of the TextureArray to the OpenGL ES texture. The caller must bind an
OpenGL ES texture. A call to | |
| getDepth | back to summary |
|---|---|
public int getDepth()
| |
| getGLType | back to summary |
|---|---|
public int getGLType()
| |
| getHeight | back to summary |
|---|---|
public int getHeight()
| |
| getInternalFormat | back to summary |
|---|---|
public int getInternalFormat()
| |
| getWidth | back to summary |
|---|---|
public int getWidth()
| |
| isManaged | back to summary |
|---|---|
public boolean isManaged()
| |
| isPrepared | back to summary |
|---|---|
public boolean isPrepared()
| |
| prepare | back to summary |
|---|---|
| public void prepare() Prepares the TextureArrayData for a call to | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static TextureArrayData |
| Factory | back to summary |
|---|---|
| public Factory() | |
| loadFromFiles | back to summary |
|---|---|
| public static TextureArrayData loadFromFiles(Pixmap. | |