ktxTextures should be created only by one of the ktxTexture_Create* functions and these fields should be considered read-only.
struct ktxTexture2 {
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;
ktx_uint32_t vkFormat;
ktx_uint32_t * pDfd;
ktxSupercmpScheme supercompressionScheme;
ktx_bool_t isVideo;
ktx_uint32_t duration;
ktx_uint32_t timescale;
ktx_uint32_t loopcount;
struct ktxTexture2_private * _private;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | ktxTexture2.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | _PRIVATE
The struct member offsets. |
| 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 | DURATION
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 | ISVIDEO
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 | LOOPCOUNT
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 | PDFD
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SUPERCOMPRESSIONSCHEME
The struct member offsets. |
| public static final int | TIMESCALE
The struct member offsets. |
| public static final int | VKFORMAT
The struct member offsets. |
| public static final int | VTBL
The struct member offsets. |
| public static final int | VVTBL
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | ktxTexture2(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 ktxTexture2 | |
| public static ktxTexture2. | calloc(int
the buffer capacity capacity)Returns a new |
| public static ktxTexture2 | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ktxTexture2. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | |
| protected ktxTexture2 | 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 ktxTexture2 | |
| public static ktxTexture2 | |
| public static ktxTexture2. | create(int
the buffer capacity capacity)Returns a new |
| public static ktxTexture2. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static ktxTexture2 | |
| public static ktxTexture2. | |
| public long | |
| public int | |
| public boolean | generateMipmaps()
|
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public ByteBuffer | |
| public long | |
| public int | |
| public int | |
| public static ktxTexture2 | |
| public static ktxTexture2. | malloc(int
the buffer capacity capacity)Returns a new |
| public static ktxTexture2 | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ktxTexture2. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static PointerBuffer | |
| public static PointerBuffer | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static long | |
| public static int | |
| public static boolean | |
| 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 int | |
| public static ktxOrientation | |
| public static ByteBuffer | |
| public static IntBuffer | |
| public static int | |
| public static int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public static int | |
| public static ktxTexture_vtbl | |
| public static long | |
| public ktxOrientation | |
| public ByteBuffer | |
| public IntBuffer | |
| public int | |
| public int | |
| public int | |
| public int | |
| public ktxTexture_vtbl | |
| public long |