ktxTextures should be created only by one of the provided functions and these fields should be considered read-only.
struct ktxTexture {
class_id classId;
struct ktxTexture_vtbl * vtbl;
struct ktxTexture_vvtbl * vvtbl;
struct ktxTexture_protected * _protected;
ktx_bool_t isArray;
ktx_bool_t isCubemap;
ktx_bool_t isCompressed;
ktx_bool_t generateMipmaps;
ktx_uint32_t baseWidth;
ktx_uint32_t baseHeight;
ktx_uint32_t baseDepth;
ktx_uint32_t numDimensions;
ktx_uint32_t numLevels;
ktx_uint32_t numLayers;
ktx_uint32_t numFaces;
struct ktxOrientation orientation;
ktxHashList kvDataHead;
ktx_uint32_t kvDataLen;
ktx_uint8_t * kvData;
ktx_size_t dataSize;
ktx_uint8_t * pData;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | ktxTexture.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | _PROTECTED
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BASEDEPTH
The struct member offsets. |
| public static final int | BASEHEIGHT
The struct member offsets. |
| public static final int | BASEWIDTH
The struct member offsets. |
| public static final int | CLASSID
The struct member offsets. |
| public static final int | DATASIZE
The struct member offsets. |
| public static final int | GENERATEMIPMAPS
The struct member offsets. |
| public static final int | ISARRAY
The struct member offsets. |
| public static final int | ISCOMPRESSED
The struct member offsets. |
| public static final int | ISCUBEMAP
The struct member offsets. |
| public static final int | KVDATA
The struct member offsets. |
| public static final int | KVDATAHEAD
The struct member offsets. |
| public static final int | KVDATALEN
The struct member offsets. |
| public static final int | NUMDIMENSIONS
The struct member offsets. |
| public static final int | NUMFACES
The struct member offsets. |
| public static final int | NUMLAYERS
The struct member offsets. |
| public static final int | NUMLEVELS
The struct member offsets. |
| public static final int | ORIENTATION
The struct member offsets. |
| public static final int | PDATA
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | VTBL
The struct member offsets. |
| public static final int | VVTBL
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | ktxTexture(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public PointerBuffer | Returns: opaque pointer to the class's protected variablesthe number of elements in the returned buffer capacity)
|
| public int | |
| public int | |
| public int | |
| public static ktxTexture | |
| public static ktxTexture. | calloc(int
the buffer capacity capacity)Returns a new |
| public static ktxTexture | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ktxTexture. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | classId()
since there are no public |
| protected ktxTexture | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static ktxTexture | |
| public static ktxTexture | |
| public static ktxTexture. | create(int
the buffer capacity capacity)Returns a new |
| public static ktxTexture. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static ktxTexture | |
| public static ktxTexture. | |
| public long | |
| public boolean | generateMipmaps()
|
| public boolean | |
| public boolean | |
| public boolean | |
| public ByteBuffer | |
| public long | |
| public int | |
| public static ktxTexture | |
| public static ktxTexture. | malloc(int
the buffer capacity capacity)Returns a new |
| public static ktxTexture | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ktxTexture. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static PointerBuffer | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static long | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static ByteBuffer | |
| public static long | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static ktxOrientation | |
| public static ByteBuffer | |
| public int | |
| public int | |
| public int | |
| public int | |
| public static ktxTexture_vtbl | |
| public static long | |
| public ktxOrientation | |
| public ByteBuffer | |
| public int | |
| public ktxTexture_vtbl | |
| public long |