Texture1_Create and Texture2_Create.
struct ktxTextureCreateInfo {
ktx_uint32_t glInternalformat;
ktx_uint32_t vkFormat;
ktx_uint32_t * pDfd;
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;
ktx_bool_t isArray;
ktx_bool_t generateMipmaps;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | ktxTextureCreateInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| 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 | GENERATEMIPMAPS
The struct member offsets. |
| public static final int | GLINTERNALFORMAT
The struct member offsets. |
| public static final int | ISARRAY
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 | PDFD
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | VKFORMAT
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | ktxTextureCreateInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public ktxTextureCreateInfo | |
| public int | |
| public ktxTextureCreateInfo | |
| public int | |
| public ktxTextureCreateInfo | |
| public static ktxTextureCreateInfo | |
| public static ktxTextureCreateInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static ktxTextureCreateInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ktxTextureCreateInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected ktxTextureCreateInfo | 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 ktxTextureCreateInfo | |
| public static ktxTextureCreateInfo | |
| public static ktxTextureCreateInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static ktxTextureCreateInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static ktxTextureCreateInfo | |
| public static ktxTextureCreateInfo. | |
| public boolean | generateMipmaps()
set to |
| public ktxTextureCreateInfo | |
| public int | |
| public ktxTextureCreateInfo | |
| public boolean | |
| public ktxTextureCreateInfo | |
| public static ktxTextureCreateInfo | |
| public static ktxTextureCreateInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static ktxTextureCreateInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ktxTextureCreateInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static boolean | |
| public static void | |
| public static int | |
| public static void | |
| public static boolean | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static IntBuffer | |
| public static void | |
| public int | |
| public ktxTextureCreateInfo | |
| public int | |
| public ktxTextureCreateInfo | |
| public int | |
| public ktxTextureCreateInfo | |
| public int | |
| public ktxTextureCreateInfo | |
| public static int | |
| public static void | |
| public IntBuffer | Returns: pointer to DFD. Used only when creating aktxTexture2 and only if vkFormat is VK_FORMAT_UNDEFINED.the number of elements in the returned buffer capacity)
|
| public ktxTextureCreateInfo | |
| public ktxTextureCreateInfo | |
| public ktxTextureCreateInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public ktxTextureCreateInfo |