Package org.lwjgl.util.ktx
Class KTX
java.lang.Object
org.lwjgl.util.ktx.KTX
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Contains the function pointers loaded from the ktxSharedLibrary
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final String
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final byte[]
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String
static final String
static final String
static final String
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String
static final String
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic SharedLibrary
Returns the ktxSharedLibrary
.static @Nullable String
ktxErrorString
(int error) char const * ktxErrorString(KTX_error_code error)
static int
ktxHashList_AddKVPair
(long pHead, CharSequence key, ByteBuffer value) KTX_error_code ktxHashList_AddKVPair(ktxHashList* pHead, char const * key, unsigned int valueLen, void const * value)
static int
ktxHashList_AddKVPair
(long pHead, ByteBuffer key, ByteBuffer value) KTX_error_code ktxHashList_AddKVPair(ktxHashList* pHead, char const * key, unsigned int valueLen, void const * value)
static void
ktxHashList_Construct
(long pHl) void ktxHashList_Construct(ktxHashList* pHl)
static void
ktxHashList_ConstructCopy
(long pHl, long orig) void ktxHashList_ConstructCopy(ktxHashList* pHl, ktxHashList orig)
static int
KTX_error_code ktxHashList_Create(ktxHashList** ppHl)
static int
ktxHashList_CreateCopy
(PointerBuffer ppHl, long orig) KTX_error_code ktxHashList_CreateCopy(ktxHashList** ppHl, ktxHashList orig)
static int
ktxHashList_DeleteEntry
(long pHead, long pEntry) KTX_error_code ktxHashList_DeleteEntry(ktxHashList* pHead, ktxHashListEntry * pEntry)
static int
ktxHashList_DeleteKVPair
(long pHead, CharSequence key) KTX_error_code ktxHashList_DeleteKVPair(ktxHashList* pHead, char const * key)
static int
ktxHashList_DeleteKVPair
(long pHead, ByteBuffer key) KTX_error_code ktxHashList_DeleteKVPair(ktxHashList* pHead, char const * key)
static int
ktxHashList_Deserialize
(long pHead, ByteBuffer kvd) KTX_error_code ktxHashList_Deserialize(ktxHashList* pHead, unsigned int kvdLen, void * kvd)
static void
ktxHashList_Destroy
(long head) void ktxHashList_Destroy(ktxHashList* head)
static void
ktxHashList_Destruct
(long head) void ktxHashList_Destruct(ktxHashList* head)
static int
ktxHashList_FindEntry
(long pHead, CharSequence key, PointerBuffer ppEntry) KTX_error_code ktxHashList_FindEntry(ktxHashList* pHead, char const * key, ktxHashListEntry ** ppEntry)
static int
ktxHashList_FindEntry
(long pHead, ByteBuffer key, PointerBuffer ppEntry) KTX_error_code ktxHashList_FindEntry(ktxHashList* pHead, char const * key, ktxHashListEntry ** ppEntry)
static int
ktxHashList_FindValue
(long pHead, CharSequence key, IntBuffer pValueLen, PointerBuffer pValue) KTX_error_code ktxHashList_FindValue(ktxHashList* pHead, char const * key, unsigned int * pValueLen, void ** pValue)
static int
ktxHashList_FindValue
(long pHead, ByteBuffer key, IntBuffer pValueLen, PointerBuffer pValue) KTX_error_code ktxHashList_FindValue(ktxHashList* pHead, char const * key, unsigned int * pValueLen, void ** pValue)
static long
ktxHashList_Next
(long entry) ktxHashListEntry * ktxHashList_Next(ktxHashListEntry * entry)
static int
ktxHashList_Serialize
(long pHead, IntBuffer kvdLen, PointerBuffer kvd) KTX_error_code ktxHashList_Serialize(ktxHashList* pHead, unsigned int * kvdLen, unsigned char ** kvd)
static int
ktxHashList_Sort
(long pHead) KTX_error_code ktxHashList_Sort(ktxHashList* pHead)
static int
ktxHashListEntry_GetKey
(long This, IntBuffer pKeyLen, PointerBuffer ppKey) KTX_error_code ktxHashListEntry_GetKey(ktxHashListEntry * This, unsigned int * pKeyLen, char ** ppKey)
static int
ktxHashListEntry_GetValue
(long This, IntBuffer pValueLen, PointerBuffer ppValue) KTX_error_code ktxHashListEntry_GetValue(ktxHashListEntry * This, unsigned int * pValueLen, void ** ppValue)
static int
ktxLoadOpenGL
(long pfnGLGetProcAddress) KTX_error_code ktxLoadOpenGL(PFNGLGETPROCADDRESS pfnGLGetProcAddress)
static int
ktxPrintInfoForMemory
(ByteBuffer bytes) KTX_error_code ktxPrintInfoForMemory(ktx_uint8_t const * bytes, ktx_size_t size)
static int
ktxPrintInfoForNamedFile
(CharSequence filename) KTX_error_code ktxPrintInfoForNamedFile(char const * const filename)
static int
ktxPrintInfoForNamedFile
(ByteBuffer filename) KTX_error_code ktxPrintInfoForNamedFile(char const * const filename)
static int
ktxPrintKTX2InfoJSONForMemory
(ByteBuffer bytes, int base_indent, int indent_width, boolean minified) KTX_error_code ktxPrintKTX2InfoJSONForMemory(ktx_uint8_t const * bytes, ktx_size_t size, ktx_uint32_t base_indent, ktx_uint32_t indent_width, bool minified)
static int
ktxPrintKTX2InfoJSONForNamedFile
(CharSequence filename, int base_indent, int indent_width, boolean minified) KTX_error_code ktxPrintKTX2InfoJSONForNamedFile(char const * const filename, ktx_uint32_t base_indent, ktx_uint32_t indent_width, bool minified)
static int
ktxPrintKTX2InfoJSONForNamedFile
(ByteBuffer filename, int base_indent, int indent_width, boolean minified) KTX_error_code ktxPrintKTX2InfoJSONForNamedFile(char const * const filename, ktx_uint32_t base_indent, ktx_uint32_t indent_width, bool minified)
static int
ktxPrintKTX2InfoJSONForStream
(ktxStream stream, int base_indent, int indent_width, boolean minified) KTX_error_code ktxPrintKTX2InfoJSONForStream(struct ktxStream * stream, ktx_uint32_t base_indent, ktx_uint32_t indent_width, bool minified)
static int
KTX_error_code ktxPrintKTX2InfoTextForMemory(ktx_uint8_t const * bytes, ktx_size_t size)
static int
ktxPrintKTX2InfoTextForNamedFile
(CharSequence filename) KTX_error_code ktxPrintKTX2InfoTextForNamedFile(char const * const filename)
static int
ktxPrintKTX2InfoTextForNamedFile
(ByteBuffer filename) KTX_error_code ktxPrintKTX2InfoTextForNamedFile(char const * const filename)
static int
KTX_error_code ktxPrintKTX2InfoTextForStream(struct ktxStream * stream)
static @Nullable String
ktxSupercompressionSchemeString
(int scheme) char const * ktxSupercompressionSchemeString(ktxSupercmpScheme scheme)
static int
ktxTexture_CreateFromMemory
(ByteBuffer bytes, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture_CreateFromMemory(ktx_uint8_t const * bytes, ktx_size_t size, ktxTextureCreateFlags createFlags, ktxTexture ** newTex)
static int
ktxTexture_CreateFromNamedFile
(CharSequence filename, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture_CreateFromNamedFile(char const * const filename, ktxTextureCreateFlags createFlags, ktxTexture ** newTex)
static int
ktxTexture_CreateFromNamedFile
(ByteBuffer filename, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture_CreateFromNamedFile(char const * const filename, ktxTextureCreateFlags createFlags, ktxTexture ** newTex)
static int
ktxTexture_CreateFromStream
(ktxStream stream, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture_CreateFromStream(struct ktxStream * stream, ktxTextureCreateFlags createFlags, ktxTexture ** newTex)
static void
ktxTexture_Destroy
(ktxTexture This) static @Nullable ByteBuffer
ktxTexture_GetData
(ktxTexture This) ktx_uint8_t * ktxTexture_GetData(ktxTexture * This)
static @Nullable ByteBuffer
ktxTexture_GetData
(ktxTexture This, long length) ktx_uint8_t * ktxTexture_GetData(ktxTexture * This)
static long
ktx_size_t ktxTexture_GetDataSize(ktxTexture * This)
static long
static int
ktx_uint32_t ktxTexture_GetElementSize(ktxTexture * This)
static int
ktxTexture_GetImageOffset
(ktxTexture This, int level, int layer, int faceSlice, PointerBuffer pOffset) static long
ktxTexture_GetImageSize
(ktxTexture This, int level) static long
ktxTexture_GetLevelSize
(ktxTexture This, int level) static int
ktxTexture_GetRowPitch
(ktxTexture This, int level) ktx_uint32_t ktxTexture_GetRowPitch(ktxTexture * This, ktx_uint32_t level)
static int
ktxTexture_GLUpload
(ktxTexture This, IntBuffer pTexture, IntBuffer pTarget, IntBuffer pGlerror) KTX_error_code ktxTexture_GLUpload(ktxTexture * This, GLuint * pTexture, GLenum * pTarget, GLenum * pGlerror)
static int
ktxTexture_IterateLevelFaces
(ktxTexture This, PFNKTXITERCBI iterCb, long userdata) KTX_error_code ktxTexture_IterateLevelFaces(ktxTexture * This, PFNKTXITERCB iterCb, void * userdata)
static int
ktxTexture_IterateLevels
(ktxTexture This, PFNKTXITERCBI iterCb, long userdata) static int
ktxTexture_IterateLoadLevelFaces
(ktxTexture This, PFNKTXITERCBI iterCb, long userdata) static int
ktxTexture_LoadImageData
(ktxTexture This, ByteBuffer pBuffer) static boolean
static int
ktxTexture_SetImageFromMemory
(ktxTexture This, int level, int layer, int faceSlice, ByteBuffer src) static int
ktxTexture_WriteToMemory
(ktxTexture This, PointerBuffer bytes, PointerBuffer size) static int
ktxTexture_WriteToStream
(ktxTexture This, long dststr) static int
ktxTexture1_Create
(ktxTextureCreateInfo createInfo, int storageAllocation, PointerBuffer newTex) KTX_error_code ktxTexture1_Create(ktxTextureCreateInfo const * const createInfo, ktxTextureCreateStorageEnum storageAllocation, ktxTexture1 ** newTex)
static int
ktxTexture1_CreateFromMemory
(ByteBuffer bytes, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture1_CreateFromMemory(ktx_uint8_t const * bytes, ktx_size_t size, ktxTextureCreateFlags createFlags, ktxTexture1 ** newTex)
static int
ktxTexture1_CreateFromNamedFile
(CharSequence filename, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture1_CreateFromNamedFile(char const * const filename, ktxTextureCreateFlags createFlags, ktxTexture1 ** newTex)
static int
ktxTexture1_CreateFromNamedFile
(ByteBuffer filename, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture1_CreateFromNamedFile(char const * const filename, ktxTextureCreateFlags createFlags, ktxTexture1 ** newTex)
static int
ktxTexture1_CreateFromStream
(ktxStream stream, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture1_CreateFromStream(struct ktxStream * stream, ktxTextureCreateFlags createFlags, ktxTexture1 ** newTex)
static void
void ktxTexture1_Destroy(ktxTexture1 * This)
static int
ktxTexture1_LoadImageData
(ktxTexture1 This, ByteBuffer pBuffer) KTX_error_code ktxTexture1_LoadImageData(ktxTexture1 * This, ktx_uint8_t * pBuffer, ktx_size_t bufSize)
static boolean
ktx_bool_t ktxTexture1_NeedsTranscoding(ktxTexture1 * This)
static int
ktxTexture1_WriteKTX2ToMemory
(ktxTexture1 This, PointerBuffer bytes, PointerBuffer size) KTX_error_code ktxTexture1_WriteKTX2ToMemory(ktxTexture1 * This, ktx_uint8_t ** bytes, ktx_size_t * size)
static int
ktxTexture1_WriteKTX2ToNamedFile
(ktxTexture1 This, CharSequence dstname) KTX_error_code ktxTexture1_WriteKTX2ToNamedFile(ktxTexture1 * This, char const * const dstname)
static int
ktxTexture1_WriteKTX2ToNamedFile
(ktxTexture1 This, ByteBuffer dstname) KTX_error_code ktxTexture1_WriteKTX2ToNamedFile(ktxTexture1 * This, char const * const dstname)
static int
ktxTexture1_WriteKTX2ToStream
(ktxTexture1 This, ktxStream dststr) KTX_error_code ktxTexture1_WriteKTX2ToStream(ktxTexture1 * This, struct ktxStream * dststr)
static int
ktxTexture1_WriteToMemory
(ktxTexture1 This, PointerBuffer bytes, PointerBuffer size) KTX_error_code ktxTexture1_WriteToMemory(ktxTexture1 * This, ktx_uint8_t ** bytes, ktx_size_t * size)
static int
ktxTexture1_WriteToNamedFile
(ktxTexture1 This, CharSequence dstname) KTX_error_code ktxTexture1_WriteToNamedFile(ktxTexture1 * This, char const * const dstname)
static int
ktxTexture1_WriteToNamedFile
(ktxTexture1 This, ByteBuffer dstname) KTX_error_code ktxTexture1_WriteToNamedFile(ktxTexture1 * This, char const * const dstname)
static int
ktxTexture1_WriteToStream
(ktxTexture1 This, ktxStream dststr) KTX_error_code ktxTexture1_WriteToStream(ktxTexture1 * This, struct ktxStream * dststr)
static int
ktxTexture2_CompressAstc
(ktxTexture2 This, int quality) KTX_error_code ktxTexture2_CompressAstc(ktxTexture2 * This, ktx_uint32_t quality)
static int
ktxTexture2_CompressAstcEx
(ktxTexture2 This, ktxAstcParams params) KTX_error_code ktxTexture2_CompressAstcEx(ktxTexture2 * This, ktxAstcParams * params)
static int
ktxTexture2_CompressBasis
(ktxTexture2 This, int quality) KTX_error_code ktxTexture2_CompressBasis(ktxTexture2 * This, ktx_uint32_t quality)
static int
ktxTexture2_CompressBasisEx
(ktxTexture2 This, ktxBasisParams params) KTX_error_code ktxTexture2_CompressBasisEx(ktxTexture2 * This, ktxBasisParams * params)
static int
ktxTexture2_Create
(ktxTextureCreateInfo createInfo, int storageAllocation, PointerBuffer newTex) KTX_error_code ktxTexture2_Create(ktxTextureCreateInfo const * const createInfo, ktxTextureCreateStorageEnum storageAllocation, ktxTexture2 ** newTex)
static int
ktxTexture2_CreateCopy
(ktxTexture2 orig, PointerBuffer newTex) KTX_error_code ktxTexture2_CreateCopy(ktxTexture2 * orig, ktxTexture2 ** newTex)
static int
ktxTexture2_CreateFromMemory
(ByteBuffer bytes, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture2_CreateFromMemory(ktx_uint8_t const * bytes, ktx_size_t size, ktxTextureCreateFlags createFlags, ktxTexture2 ** newTex)
static int
ktxTexture2_CreateFromNamedFile
(CharSequence filename, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture2_CreateFromNamedFile(char const * const filename, ktxTextureCreateFlags createFlags, ktxTexture2 ** newTex)
static int
ktxTexture2_CreateFromNamedFile
(ByteBuffer filename, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture2_CreateFromNamedFile(char const * const filename, ktxTextureCreateFlags createFlags, ktxTexture2 ** newTex)
static int
ktxTexture2_CreateFromStream
(ktxStream stream, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture2_CreateFromStream(struct ktxStream * stream, ktxTextureCreateFlags createFlags, ktxTexture2 ** newTex)
static int
KTX_error_code ktxTexture2_DecodeAstc(ktxTexture2 * This)
static int
ktxTexture2_DeflateZLIB
(ktxTexture2 This, int level) KTX_error_code ktxTexture2_DeflateZLIB(ktxTexture2 * This, ktx_uint32_t level)
static int
ktxTexture2_DeflateZstd
(ktxTexture2 This, int level) KTX_error_code ktxTexture2_DeflateZstd(ktxTexture2 * This, ktx_uint32_t level)
static void
void ktxTexture2_Destroy(ktxTexture2 * This)
static int
khr_df_model_e ktxTexture2_GetColorModel_e(ktxTexture2 * This)
static void
ktxTexture2_GetComponentInfo
(ktxTexture2 This, IntBuffer numComponents, IntBuffer componentByteLength) void ktxTexture2_GetComponentInfo(ktxTexture2 * This, ktx_uint32_t * numComponents, ktx_uint32_t * componentByteLength)
static int
ktxTexture2_GetImageOffset
(ktxTexture2 This, int level, int layer, int faceSlice, PointerBuffer pOffset) KTX_error_code ktxTexture2_GetImageOffset(ktxTexture2 * This, ktx_uint32_t level, ktx_uint32_t layer, ktx_uint32_t faceSlice, ktx_size_t * pOffset)
static int
ktx_uint32_t ktxTexture2_GetNumComponents(ktxTexture2 * This)
static int
ktx_uint32_t ktxTexture2_GetOETF(ktxTexture2 * This)
static int
khr_df_transfer_e ktxTexture2_GetOETF_e(ktxTexture2 * This)
static boolean
ktx_bool_t ktxTexture2_GetPremultipliedAlpha(ktxTexture2 * This)
static int
khr_df_primaries_e ktxTexture2_GetPrimaries_e(ktxTexture2 * This)
static int
khr_df_transfer_e ktxTexture2_GetTransferFunction_e(ktxTexture2 * This)
static int
ktxTexture2_LoadDeflatedImageData
(ktxTexture2 This, ByteBuffer pBuffer) KTX_error_code ktxTexture2_LoadDeflatedImageData(ktxTexture2 * This, ktx_uint8_t * pBuffer, ktx_size_t bufSize)
static int
ktxTexture2_LoadImageData
(ktxTexture2 This, ByteBuffer pBuffer) KTX_error_code ktxTexture2_LoadImageData(ktxTexture2 * This, ktx_uint8_t * pBuffer, ktx_size_t bufSize)
static boolean
ktx_bool_t ktxTexture2_NeedsTranscoding(ktxTexture2 * This)
static int
ktxTexture2_SetOETF
(ktxTexture2 This, int oetf) KTX_error_code ktxTexture2_SetOETF(ktxTexture2 * This, khr_df_transfer_e oetf)
static int
ktxTexture2_SetPrimaries
(ktxTexture2 This, int primaries) KTX_error_code ktxTexture2_SetPrimaries(ktxTexture2 * This, khr_df_primaries_e primaries)
static int
ktxTexture2_SetTransferFunction
(ktxTexture2 This, int tf) KTX_error_code ktxTexture2_SetTransferFunction(ktxTexture2 * This, khr_df_transfer_e tf)
static int
ktxTexture2_TranscodeBasis
(ktxTexture2 This, int fmt, int transcodeFlags) KTX_error_code ktxTexture2_TranscodeBasis(ktxTexture2 * This, ktx_transcode_fmt_e fmt, ktx_transcode_flags transcodeFlags)
static int
ktxTexture2_WriteToMemory
(ktxTexture2 This, PointerBuffer bytes, PointerBuffer size) KTX_error_code ktxTexture2_WriteToMemory(ktxTexture2 * This, ktx_uint8_t ** bytes, ktx_size_t * size)
static int
ktxTexture2_WriteToNamedFile
(ktxTexture2 This, CharSequence dstname) KTX_error_code ktxTexture2_WriteToNamedFile(ktxTexture2 * This, char const * const dstname)
static int
ktxTexture2_WriteToNamedFile
(ktxTexture2 This, ByteBuffer dstname) KTX_error_code ktxTexture2_WriteToNamedFile(ktxTexture2 * This, char const * const dstname)
static int
ktxTexture2_WriteToStream
(ktxTexture2 This, ktxStream dststr) KTX_error_code ktxTexture2_WriteToStream(ktxTexture2 * This, struct ktxStream * dststr)
static @Nullable String
ktxTranscodeFormatString
(int format) char const * ktxTranscodeFormatString(ktx_transcode_fmt_e format)
static int
ktxWriteToNamedFile
(ktxTexture This, CharSequence dstname) static int
ktxWriteToNamedFile
(ktxTexture This, ByteBuffer dstname) static long
nktxErrorString
(int error) char const * ktxErrorString(KTX_error_code error)
static int
nktxHashList_AddKVPair
(long pHead, long key, int valueLen, long value) KTX_error_code ktxHashList_AddKVPair(ktxHashList* pHead, char const * key, unsigned int valueLen, void const * value)
static int
nktxHashList_Create
(long ppHl) KTX_error_code ktxHashList_Create(ktxHashList** ppHl)
static int
nktxHashList_CreateCopy
(long ppHl, long orig) KTX_error_code ktxHashList_CreateCopy(ktxHashList** ppHl, ktxHashList orig)
static int
nktxHashList_DeleteKVPair
(long pHead, long key) KTX_error_code ktxHashList_DeleteKVPair(ktxHashList* pHead, char const * key)
static int
nktxHashList_Deserialize
(long pHead, int kvdLen, long kvd) KTX_error_code ktxHashList_Deserialize(ktxHashList* pHead, unsigned int kvdLen, void * kvd)
static int
nktxHashList_FindEntry
(long pHead, long key, long ppEntry) KTX_error_code ktxHashList_FindEntry(ktxHashList* pHead, char const * key, ktxHashListEntry ** ppEntry)
static int
nktxHashList_FindValue
(long pHead, long key, long pValueLen, long pValue) KTX_error_code ktxHashList_FindValue(ktxHashList* pHead, char const * key, unsigned int * pValueLen, void ** pValue)
static int
nktxHashList_Serialize
(long pHead, long kvdLen, long kvd) KTX_error_code ktxHashList_Serialize(ktxHashList* pHead, unsigned int * kvdLen, unsigned char ** kvd)
static int
nktxHashListEntry_GetKey
(long This, long pKeyLen, long ppKey) KTX_error_code ktxHashListEntry_GetKey(ktxHashListEntry * This, unsigned int * pKeyLen, char ** ppKey)
static int
nktxHashListEntry_GetValue
(long This, long pValueLen, long ppValue) KTX_error_code ktxHashListEntry_GetValue(ktxHashListEntry * This, unsigned int * pValueLen, void ** ppValue)
static int
nktxPrintInfoForMemory
(long bytes, long size) KTX_error_code ktxPrintInfoForMemory(ktx_uint8_t const * bytes, ktx_size_t size)
static int
nktxPrintInfoForNamedFile
(long filename) KTX_error_code ktxPrintInfoForNamedFile(char const * const filename)
static int
nktxPrintKTX2InfoJSONForMemory
(long bytes, long size, int base_indent, int indent_width, boolean minified) KTX_error_code ktxPrintKTX2InfoJSONForMemory(ktx_uint8_t const * bytes, ktx_size_t size, ktx_uint32_t base_indent, ktx_uint32_t indent_width, bool minified)
static int
nktxPrintKTX2InfoJSONForNamedFile
(long filename, int base_indent, int indent_width, boolean minified) KTX_error_code ktxPrintKTX2InfoJSONForNamedFile(char const * const filename, ktx_uint32_t base_indent, ktx_uint32_t indent_width, bool minified)
static int
nktxPrintKTX2InfoJSONForStream
(long stream, int base_indent, int indent_width, boolean minified) KTX_error_code ktxPrintKTX2InfoJSONForStream(struct ktxStream * stream, ktx_uint32_t base_indent, ktx_uint32_t indent_width, bool minified)
static int
nktxPrintKTX2InfoTextForMemory
(long bytes, long size) KTX_error_code ktxPrintKTX2InfoTextForMemory(ktx_uint8_t const * bytes, ktx_size_t size)
static int
nktxPrintKTX2InfoTextForNamedFile
(long filename) KTX_error_code ktxPrintKTX2InfoTextForNamedFile(char const * const filename)
static int
nktxPrintKTX2InfoTextForStream
(long stream) KTX_error_code ktxPrintKTX2InfoTextForStream(struct ktxStream * stream)
static long
nktxSupercompressionSchemeString
(int scheme) char const * ktxSupercompressionSchemeString(ktxSupercmpScheme scheme)
static int
nktxTexture_CreateFromMemory
(long bytes, long size, int createFlags, long newTex) KTX_error_code ktxTexture_CreateFromMemory(ktx_uint8_t const * bytes, ktx_size_t size, ktxTextureCreateFlags createFlags, ktxTexture ** newTex)
static int
nktxTexture_CreateFromNamedFile
(long filename, int createFlags, long newTex) KTX_error_code ktxTexture_CreateFromNamedFile(char const * const filename, ktxTextureCreateFlags createFlags, ktxTexture ** newTex)
static int
nktxTexture_CreateFromStream
(long stream, int createFlags, long newTex) KTX_error_code ktxTexture_CreateFromStream(struct ktxStream * stream, ktxTextureCreateFlags createFlags, ktxTexture ** newTex)
static long
nktxTexture_GetData
(long This) ktx_uint8_t * ktxTexture_GetData(ktxTexture * This)
static long
nktxTexture_GetDataSize
(long This) ktx_size_t ktxTexture_GetDataSize(ktxTexture * This)
static int
nktxTexture_GetElementSize
(long This) ktx_uint32_t ktxTexture_GetElementSize(ktxTexture * This)
static int
nktxTexture_GetRowPitch
(long This, int level) ktx_uint32_t ktxTexture_GetRowPitch(ktxTexture * This, ktx_uint32_t level)
static int
nktxTexture_GLUpload
(long This, long pTexture, long pTarget, long pGlerror) KTX_error_code ktxTexture_GLUpload(ktxTexture * This, GLuint * pTexture, GLenum * pTarget, GLenum * pGlerror)
static int
nktxTexture_IterateLevelFaces
(long This, long iterCb, long userdata) KTX_error_code ktxTexture_IterateLevelFaces(ktxTexture * This, PFNKTXITERCB iterCb, void * userdata)
static int
nktxTexture1_Create
(long createInfo, int storageAllocation, long newTex) KTX_error_code ktxTexture1_Create(ktxTextureCreateInfo const * const createInfo, ktxTextureCreateStorageEnum storageAllocation, ktxTexture1 ** newTex)
static int
nktxTexture1_CreateFromMemory
(long bytes, long size, int createFlags, long newTex) KTX_error_code ktxTexture1_CreateFromMemory(ktx_uint8_t const * bytes, ktx_size_t size, ktxTextureCreateFlags createFlags, ktxTexture1 ** newTex)
static int
nktxTexture1_CreateFromNamedFile
(long filename, int createFlags, long newTex) KTX_error_code ktxTexture1_CreateFromNamedFile(char const * const filename, ktxTextureCreateFlags createFlags, ktxTexture1 ** newTex)
static int
nktxTexture1_CreateFromStream
(long stream, int createFlags, long newTex) KTX_error_code ktxTexture1_CreateFromStream(struct ktxStream * stream, ktxTextureCreateFlags createFlags, ktxTexture1 ** newTex)
static void
nktxTexture1_Destroy
(long This) void ktxTexture1_Destroy(ktxTexture1 * This)
static int
nktxTexture1_LoadImageData
(long This, long pBuffer, long bufSize) KTX_error_code ktxTexture1_LoadImageData(ktxTexture1 * This, ktx_uint8_t * pBuffer, ktx_size_t bufSize)
static boolean
nktxTexture1_NeedsTranscoding
(long This) ktx_bool_t ktxTexture1_NeedsTranscoding(ktxTexture1 * This)
static int
nktxTexture1_WriteKTX2ToMemory
(long This, long bytes, long size) KTX_error_code ktxTexture1_WriteKTX2ToMemory(ktxTexture1 * This, ktx_uint8_t ** bytes, ktx_size_t * size)
static int
nktxTexture1_WriteKTX2ToNamedFile
(long This, long dstname) KTX_error_code ktxTexture1_WriteKTX2ToNamedFile(ktxTexture1 * This, char const * const dstname)
static int
nktxTexture1_WriteKTX2ToStream
(long This, long dststr) KTX_error_code ktxTexture1_WriteKTX2ToStream(ktxTexture1 * This, struct ktxStream * dststr)
static int
nktxTexture1_WriteToMemory
(long This, long bytes, long size) KTX_error_code ktxTexture1_WriteToMemory(ktxTexture1 * This, ktx_uint8_t ** bytes, ktx_size_t * size)
static int
nktxTexture1_WriteToNamedFile
(long This, long dstname) KTX_error_code ktxTexture1_WriteToNamedFile(ktxTexture1 * This, char const * const dstname)
static int
nktxTexture1_WriteToStream
(long This, long dststr) KTX_error_code ktxTexture1_WriteToStream(ktxTexture1 * This, struct ktxStream * dststr)
static int
nktxTexture2_CompressAstc
(long This, int quality) KTX_error_code ktxTexture2_CompressAstc(ktxTexture2 * This, ktx_uint32_t quality)
static int
nktxTexture2_CompressAstcEx
(long This, long params) KTX_error_code ktxTexture2_CompressAstcEx(ktxTexture2 * This, ktxAstcParams * params)
static int
nktxTexture2_CompressBasis
(long This, int quality) KTX_error_code ktxTexture2_CompressBasis(ktxTexture2 * This, ktx_uint32_t quality)
static int
nktxTexture2_CompressBasisEx
(long This, long params) KTX_error_code ktxTexture2_CompressBasisEx(ktxTexture2 * This, ktxBasisParams * params)
static int
nktxTexture2_Create
(long createInfo, int storageAllocation, long newTex) KTX_error_code ktxTexture2_Create(ktxTextureCreateInfo const * const createInfo, ktxTextureCreateStorageEnum storageAllocation, ktxTexture2 ** newTex)
static int
nktxTexture2_CreateCopy
(long orig, long newTex) KTX_error_code ktxTexture2_CreateCopy(ktxTexture2 * orig, ktxTexture2 ** newTex)
static int
nktxTexture2_CreateFromMemory
(long bytes, long size, int createFlags, long newTex) KTX_error_code ktxTexture2_CreateFromMemory(ktx_uint8_t const * bytes, ktx_size_t size, ktxTextureCreateFlags createFlags, ktxTexture2 ** newTex)
static int
nktxTexture2_CreateFromNamedFile
(long filename, int createFlags, long newTex) KTX_error_code ktxTexture2_CreateFromNamedFile(char const * const filename, ktxTextureCreateFlags createFlags, ktxTexture2 ** newTex)
static int
nktxTexture2_CreateFromStream
(long stream, int createFlags, long newTex) KTX_error_code ktxTexture2_CreateFromStream(struct ktxStream * stream, ktxTextureCreateFlags createFlags, ktxTexture2 ** newTex)
static int
nktxTexture2_DecodeAstc
(long This) KTX_error_code ktxTexture2_DecodeAstc(ktxTexture2 * This)
static int
nktxTexture2_DeflateZLIB
(long This, int level) KTX_error_code ktxTexture2_DeflateZLIB(ktxTexture2 * This, ktx_uint32_t level)
static int
nktxTexture2_DeflateZstd
(long This, int level) KTX_error_code ktxTexture2_DeflateZstd(ktxTexture2 * This, ktx_uint32_t level)
static void
nktxTexture2_Destroy
(long This) void ktxTexture2_Destroy(ktxTexture2 * This)
static int
nktxTexture2_GetColorModel_e
(long This) khr_df_model_e ktxTexture2_GetColorModel_e(ktxTexture2 * This)
static void
nktxTexture2_GetComponentInfo
(long This, long numComponents, long componentByteLength) void ktxTexture2_GetComponentInfo(ktxTexture2 * This, ktx_uint32_t * numComponents, ktx_uint32_t * componentByteLength)
static int
nktxTexture2_GetImageOffset
(long This, int level, int layer, int faceSlice, long pOffset) KTX_error_code ktxTexture2_GetImageOffset(ktxTexture2 * This, ktx_uint32_t level, ktx_uint32_t layer, ktx_uint32_t faceSlice, ktx_size_t * pOffset)
static int
nktxTexture2_GetNumComponents
(long This) ktx_uint32_t ktxTexture2_GetNumComponents(ktxTexture2 * This)
static int
nktxTexture2_GetOETF
(long This) ktx_uint32_t ktxTexture2_GetOETF(ktxTexture2 * This)
static int
nktxTexture2_GetOETF_e
(long This) khr_df_transfer_e ktxTexture2_GetOETF_e(ktxTexture2 * This)
static boolean
nktxTexture2_GetPremultipliedAlpha
(long This) ktx_bool_t ktxTexture2_GetPremultipliedAlpha(ktxTexture2 * This)
static int
nktxTexture2_GetPrimaries_e
(long This) khr_df_primaries_e ktxTexture2_GetPrimaries_e(ktxTexture2 * This)
static int
nktxTexture2_GetTransferFunction_e
(long This) khr_df_transfer_e ktxTexture2_GetTransferFunction_e(ktxTexture2 * This)
static int
nktxTexture2_LoadDeflatedImageData
(long This, long pBuffer, long bufSize) KTX_error_code ktxTexture2_LoadDeflatedImageData(ktxTexture2 * This, ktx_uint8_t * pBuffer, ktx_size_t bufSize)
static int
nktxTexture2_LoadImageData
(long This, long pBuffer, long bufSize) KTX_error_code ktxTexture2_LoadImageData(ktxTexture2 * This, ktx_uint8_t * pBuffer, ktx_size_t bufSize)
static boolean
nktxTexture2_NeedsTranscoding
(long This) ktx_bool_t ktxTexture2_NeedsTranscoding(ktxTexture2 * This)
static int
nktxTexture2_SetOETF
(long This, int oetf) KTX_error_code ktxTexture2_SetOETF(ktxTexture2 * This, khr_df_transfer_e oetf)
static int
nktxTexture2_SetPrimaries
(long This, int primaries) KTX_error_code ktxTexture2_SetPrimaries(ktxTexture2 * This, khr_df_primaries_e primaries)
static int
nktxTexture2_SetTransferFunction
(long This, int tf) KTX_error_code ktxTexture2_SetTransferFunction(ktxTexture2 * This, khr_df_transfer_e tf)
static int
nktxTexture2_TranscodeBasis
(long This, int fmt, int transcodeFlags) KTX_error_code ktxTexture2_TranscodeBasis(ktxTexture2 * This, ktx_transcode_fmt_e fmt, ktx_transcode_flags transcodeFlags)
static int
nktxTexture2_WriteToMemory
(long This, long bytes, long size) KTX_error_code ktxTexture2_WriteToMemory(ktxTexture2 * This, ktx_uint8_t ** bytes, ktx_size_t * size)
static int
nktxTexture2_WriteToNamedFile
(long This, long dstname) KTX_error_code ktxTexture2_WriteToNamedFile(ktxTexture2 * This, char const * const dstname)
static int
nktxTexture2_WriteToStream
(long This, long dststr) KTX_error_code ktxTexture2_WriteToStream(ktxTexture2 * This, struct ktxStream * dststr)
static long
nktxTranscodeFormatString
(int format) char const * ktxTranscodeFormatString(ktx_transcode_fmt_e format)
-
Field Details
-
KTX_ANIMDATA_KEY
- See Also:
-
KTX_ORIENTATION_KEY
- See Also:
-
KTX_SWIZZLE_KEY
- See Also:
-
KTX_WRITER_KEY
- See Also:
-
KTX_WRITER_SCPARAMS_KEY
- See Also:
-
KTX_ORIENTATION1_FMT
- See Also:
-
KTX_ORIENTATION2_FMT
- See Also:
-
KTX_ORIENTATION3_FMT
- See Also:
-
KTX_GL_UNPACK_ALIGNMENT
public static final int KTX_GL_UNPACK_ALIGNMENT- See Also:
-
KTX_FACESLICE_WHOLE_LEVEL
public static final int KTX_FACESLICE_WHOLE_LEVEL- See Also:
-
KTX_TRUE
public static final int KTX_TRUE- See Also:
-
KTX_FALSE
public static final int KTX_FALSE- See Also:
-
KTX_ENDIAN_REF
public static final int KTX_ENDIAN_REF- See Also:
-
KTX_ENDIAN_REF_REV
public static final int KTX_ENDIAN_REF_REV- See Also:
-
KTX_HEADER_SIZE
public static final int KTX_HEADER_SIZE- See Also:
-
KTX_SUCCESS
public static final int KTX_SUCCESS- See Also:
-
KTX_FILE_DATA_ERROR
public static final int KTX_FILE_DATA_ERROR- See Also:
-
KTX_FILE_ISPIPE
public static final int KTX_FILE_ISPIPE- See Also:
-
KTX_FILE_OPEN_FAILED
public static final int KTX_FILE_OPEN_FAILED- See Also:
-
KTX_FILE_OVERFLOW
public static final int KTX_FILE_OVERFLOW- See Also:
-
KTX_FILE_READ_ERROR
public static final int KTX_FILE_READ_ERROR- See Also:
-
KTX_FILE_SEEK_ERROR
public static final int KTX_FILE_SEEK_ERROR- See Also:
-
KTX_FILE_UNEXPECTED_EOF
public static final int KTX_FILE_UNEXPECTED_EOF- See Also:
-
KTX_FILE_WRITE_ERROR
public static final int KTX_FILE_WRITE_ERROR- See Also:
-
KTX_GL_ERROR
public static final int KTX_GL_ERROR- See Also:
-
KTX_INVALID_OPERATION
public static final int KTX_INVALID_OPERATION- See Also:
-
KTX_INVALID_VALUE
public static final int KTX_INVALID_VALUE- See Also:
-
KTX_NOT_FOUND
public static final int KTX_NOT_FOUND- See Also:
-
KTX_OUT_OF_MEMORY
public static final int KTX_OUT_OF_MEMORY- See Also:
-
KTX_TRANSCODE_FAILED
public static final int KTX_TRANSCODE_FAILED- See Also:
-
KTX_UNKNOWN_FILE_FORMAT
public static final int KTX_UNKNOWN_FILE_FORMAT- See Also:
-
KTX_UNSUPPORTED_TEXTURE_TYPE
public static final int KTX_UNSUPPORTED_TEXTURE_TYPE- See Also:
-
KTX_UNSUPPORTED_FEATURE
public static final int KTX_UNSUPPORTED_FEATURE- See Also:
-
KTX_LIBRARY_NOT_LINKED
public static final int KTX_LIBRARY_NOT_LINKED- See Also:
-
KTX_DECOMPRESS_LENGTH_ERROR
public static final int KTX_DECOMPRESS_LENGTH_ERROR- See Also:
-
KTX_DECOMPRESS_CHECKSUM_ERROR
public static final int KTX_DECOMPRESS_CHECKSUM_ERROR- See Also:
-
KTX_ORIENT_X_LEFT
public static final int KTX_ORIENT_X_LEFT- See Also:
-
KTX_ORIENT_X_RIGHT
public static final int KTX_ORIENT_X_RIGHT- See Also:
-
KTX_ORIENT_Y_UP
public static final int KTX_ORIENT_Y_UP- See Also:
-
KTX_ORIENT_Y_DOWN
public static final int KTX_ORIENT_Y_DOWN- See Also:
-
KTX_ORIENT_Z_IN
public static final int KTX_ORIENT_Z_IN- See Also:
-
KTX_ORIENT_Z_OUT
public static final int KTX_ORIENT_Z_OUT- See Also:
-
ktxTexture1_c
public static final int ktxTexture1_c- See Also:
-
ktxTexture2_c
public static final int ktxTexture2_c- See Also:
-
KTX_SS_NONE
public static final int KTX_SS_NONE- See Also:
-
KTX_SS_BASIS_LZ
public static final int KTX_SS_BASIS_LZ- See Also:
-
KTX_SS_ZSTD
public static final int KTX_SS_ZSTD- See Also:
-
KTX_SS_ZLIB
public static final int KTX_SS_ZLIB- See Also:
-
KTX_SS_BEGIN_RANGE
public static final int KTX_SS_BEGIN_RANGE- See Also:
-
KTX_SS_END_RANGE
public static final int KTX_SS_END_RANGE- See Also:
-
KTX_SS_BEGIN_VENDOR_RANGE
public static final int KTX_SS_BEGIN_VENDOR_RANGE- See Also:
-
KTX_SS_END_VENDOR_RANGE
public static final int KTX_SS_END_VENDOR_RANGE- See Also:
-
KTX_SS_BEGIN_RESERVED
public static final int KTX_SS_BEGIN_RESERVED- See Also:
-
KTX_TEXTURE_CREATE_NO_STORAGE
public static final int KTX_TEXTURE_CREATE_NO_STORAGE- See Also:
-
KTX_TEXTURE_CREATE_ALLOC_STORAGE
public static final int KTX_TEXTURE_CREATE_ALLOC_STORAGE- See Also:
-
KTX_TEXTURE_CREATE_NO_FLAGS
public static final int KTX_TEXTURE_CREATE_NO_FLAGS- See Also:
-
KTX_TEXTURE_CREATE_LOAD_IMAGE_DATA_BIT
public static final int KTX_TEXTURE_CREATE_LOAD_IMAGE_DATA_BIT- See Also:
-
KTX_TEXTURE_CREATE_RAW_KVDATA_BIT
public static final int KTX_TEXTURE_CREATE_RAW_KVDATA_BIT- See Also:
-
KTX_TEXTURE_CREATE_SKIP_KVDATA_BIT
public static final int KTX_TEXTURE_CREATE_SKIP_KVDATA_BIT- See Also:
-
KTX_TEXTURE_CREATE_CHECK_GLTF_BASISU_BIT
public static final int KTX_TEXTURE_CREATE_CHECK_GLTF_BASISU_BIT- See Also:
-
eStreamTypeFile
public static final int eStreamTypeFile- See Also:
-
eStreamTypeMemory
public static final int eStreamTypeMemory- See Also:
-
eStreamTypeCustom
public static final int eStreamTypeCustom- See Also:
-
KTX_PACK_UASTC_LEVEL_FASTEST
public static final int KTX_PACK_UASTC_LEVEL_FASTEST- See Also:
-
KTX_PACK_UASTC_LEVEL_FASTER
public static final int KTX_PACK_UASTC_LEVEL_FASTER- See Also:
-
KTX_PACK_UASTC_LEVEL_DEFAULT
public static final int KTX_PACK_UASTC_LEVEL_DEFAULT- See Also:
-
KTX_PACK_UASTC_LEVEL_SLOWER
public static final int KTX_PACK_UASTC_LEVEL_SLOWER- See Also:
-
KTX_PACK_UASTC_LEVEL_VERYSLOW
public static final int KTX_PACK_UASTC_LEVEL_VERYSLOW- See Also:
-
KTX_PACK_UASTC_MAX_LEVEL
public static final int KTX_PACK_UASTC_MAX_LEVEL- See Also:
-
KTX_PACK_UASTC_LEVEL_MASK
public static final int KTX_PACK_UASTC_LEVEL_MASK- See Also:
-
KTX_PACK_UASTC_FAVOR_UASTC_ERROR
public static final int KTX_PACK_UASTC_FAVOR_UASTC_ERROR- See Also:
-
KTX_PACK_UASTC_FAVOR_BC7_ERROR
public static final int KTX_PACK_UASTC_FAVOR_BC7_ERROR- See Also:
-
KTX_PACK_UASTC_ETC1_FASTER_HINTS
public static final int KTX_PACK_UASTC_ETC1_FASTER_HINTS- See Also:
-
KTX_PACK_UASTC_ETC1_FASTEST_HINTS
public static final int KTX_PACK_UASTC_ETC1_FASTEST_HINTS- See Also:
-
KTX_PACK_UASTC__ETC1_DISABLE_FLIP_AND_INDIVIDUAL
public static final int KTX_PACK_UASTC__ETC1_DISABLE_FLIP_AND_INDIVIDUAL- See Also:
-
KTX_PACK_ASTC_QUALITY_LEVEL_FASTEST
public static final int KTX_PACK_ASTC_QUALITY_LEVEL_FASTEST- See Also:
-
KTX_PACK_ASTC_QUALITY_LEVEL_FAST
public static final int KTX_PACK_ASTC_QUALITY_LEVEL_FAST- See Also:
-
KTX_PACK_ASTC_QUALITY_LEVEL_MEDIUM
public static final int KTX_PACK_ASTC_QUALITY_LEVEL_MEDIUM- See Also:
-
KTX_PACK_ASTC_QUALITY_LEVEL_THOROUGH
public static final int KTX_PACK_ASTC_QUALITY_LEVEL_THOROUGH- See Also:
-
KTX_PACK_ASTC_QUALITY_LEVEL_EXHAUSTIVE
public static final int KTX_PACK_ASTC_QUALITY_LEVEL_EXHAUSTIVE- See Also:
-
KTX_PACK_ASTC_QUALITY_LEVEL_MAX
public static final int KTX_PACK_ASTC_QUALITY_LEVEL_MAX- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_4x4
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_4x4- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_5x4
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_5x4- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_5x5
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_5x5- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_6x5
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_6x5- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_6x6
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_6x6- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_8x5
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_8x5- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_8x6
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_8x6- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_10x5
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_10x5- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_10x6
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_10x6- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_8x8
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_8x8- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_10x8
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_10x8- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_10x10
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_10x10- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_12x10
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_12x10- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_12x12
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_12x12- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_3x3x3
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_3x3x3- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_4x3x3
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_4x3x3- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_4x4x3
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_4x4x3- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_4x4x4
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_4x4x4- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_5x4x4
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_5x4x4- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_5x5x4
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_5x5x4- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_5x5x5
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_5x5x5- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_6x5x5
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_6x5x5- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_6x6x5
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_6x6x5- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_6x6x6
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_6x6x6- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_MAX
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_MAX- See Also:
-
KTX_PACK_ASTC_ENCODER_MODE_DEFAULT
public static final int KTX_PACK_ASTC_ENCODER_MODE_DEFAULT- See Also:
-
KTX_PACK_ASTC_ENCODER_MODE_LDR
public static final int KTX_PACK_ASTC_ENCODER_MODE_LDR- See Also:
-
KTX_PACK_ASTC_ENCODER_MODE_HDR
public static final int KTX_PACK_ASTC_ENCODER_MODE_HDR- See Also:
-
KTX_PACK_ASTC_ENCODER_MODE_MAX
public static final int KTX_PACK_ASTC_ENCODER_MODE_MAX- See Also:
-
KTX_TTF_ETC1_RGB
public static final int KTX_TTF_ETC1_RGB- See Also:
-
KTX_TTF_ETC2_RGBA
public static final int KTX_TTF_ETC2_RGBA- See Also:
-
KTX_TTF_BC1_RGB
public static final int KTX_TTF_BC1_RGB- See Also:
-
KTX_TTF_BC3_RGBA
public static final int KTX_TTF_BC3_RGBA- See Also:
-
KTX_TTF_BC4_R
public static final int KTX_TTF_BC4_R- See Also:
-
KTX_TTF_BC5_RG
public static final int KTX_TTF_BC5_RG- See Also:
-
KTX_TTF_BC7_RGBA
public static final int KTX_TTF_BC7_RGBA- See Also:
-
KTX_TTF_PVRTC1_4_RGB
public static final int KTX_TTF_PVRTC1_4_RGB- See Also:
-
KTX_TTF_PVRTC1_4_RGBA
public static final int KTX_TTF_PVRTC1_4_RGBA- See Also:
-
KTX_TTF_ASTC_4x4_RGBA
public static final int KTX_TTF_ASTC_4x4_RGBA- See Also:
-
KTX_TTF_PVRTC2_4_RGB
public static final int KTX_TTF_PVRTC2_4_RGB- See Also:
-
KTX_TTF_PVRTC2_4_RGBA
public static final int KTX_TTF_PVRTC2_4_RGBA- See Also:
-
KTX_TTF_ETC2_EAC_R11
public static final int KTX_TTF_ETC2_EAC_R11- See Also:
-
KTX_TTF_ETC2_EAC_RG11
public static final int KTX_TTF_ETC2_EAC_RG11- See Also:
-
KTX_TTF_RGBA32
public static final int KTX_TTF_RGBA32- See Also:
-
KTX_TTF_RGB565
public static final int KTX_TTF_RGB565- See Also:
-
KTX_TTF_BGR565
public static final int KTX_TTF_BGR565- See Also:
-
KTX_TTF_RGBA4444
public static final int KTX_TTF_RGBA4444- See Also:
-
KTX_TTF_ETC
public static final int KTX_TTF_ETC- See Also:
-
KTX_TTF_BC1_OR_3
public static final int KTX_TTF_BC1_OR_3- See Also:
-
KTX_TTF_NOSELECTION
public static final int KTX_TTF_NOSELECTION- See Also:
-
KTX_TF_PVRTC_DECODE_TO_NEXT_POW2
public static final int KTX_TF_PVRTC_DECODE_TO_NEXT_POW2- See Also:
-
KTX_TF_TRANSCODE_ALPHA_DATA_TO_OPAQUE_FORMATS
public static final int KTX_TF_TRANSCODE_ALPHA_DATA_TO_OPAQUE_FORMATS- See Also:
-
KTX_TF_HIGH_QUALITY
public static final int KTX_TF_HIGH_QUALITY- See Also:
-
KTX_IDENTIFIER_REF
public static final byte[] KTX_IDENTIFIER_REF -
KTX_ETC1S_DEFAULT_COMPRESSION_LEVEL
public static final int KTX_ETC1S_DEFAULT_COMPRESSION_LEVEL
-
-
Method Details
-
getLibrary
Returns the ktxSharedLibrary
. -
ktxLoadOpenGL
public static int ktxLoadOpenGL(long pfnGLGetProcAddress) KTX_error_code ktxLoadOpenGL(PFNGLGETPROCADDRESS pfnGLGetProcAddress)
-
nktxTexture_CreateFromNamedFile
public static int nktxTexture_CreateFromNamedFile(long filename, int createFlags, long newTex) KTX_error_code ktxTexture_CreateFromNamedFile(char const * const filename, ktxTextureCreateFlags createFlags, ktxTexture ** newTex)
-
ktxTexture_CreateFromNamedFile
public static int ktxTexture_CreateFromNamedFile(ByteBuffer filename, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture_CreateFromNamedFile(char const * const filename, ktxTextureCreateFlags createFlags, ktxTexture ** newTex)
-
ktxTexture_CreateFromNamedFile
public static int ktxTexture_CreateFromNamedFile(CharSequence filename, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture_CreateFromNamedFile(char const * const filename, ktxTextureCreateFlags createFlags, ktxTexture ** newTex)
-
nktxTexture_CreateFromMemory
public static int nktxTexture_CreateFromMemory(long bytes, long size, int createFlags, long newTex) KTX_error_code ktxTexture_CreateFromMemory(ktx_uint8_t const * bytes, ktx_size_t size, ktxTextureCreateFlags createFlags, ktxTexture ** newTex)
-
ktxTexture_CreateFromMemory
public static int ktxTexture_CreateFromMemory(ByteBuffer bytes, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture_CreateFromMemory(ktx_uint8_t const * bytes, ktx_size_t size, ktxTextureCreateFlags createFlags, ktxTexture ** newTex)
-
nktxTexture_CreateFromStream
public static int nktxTexture_CreateFromStream(long stream, int createFlags, long newTex) KTX_error_code ktxTexture_CreateFromStream(struct ktxStream * stream, ktxTextureCreateFlags createFlags, ktxTexture ** newTex)
-
ktxTexture_CreateFromStream
public static int ktxTexture_CreateFromStream(ktxStream stream, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture_CreateFromStream(struct ktxStream * stream, ktxTextureCreateFlags createFlags, ktxTexture ** newTex)
-
nktxTexture_GetData
public static long nktxTexture_GetData(long This) ktx_uint8_t * ktxTexture_GetData(ktxTexture * This)
-
ktxTexture_GetData
ktx_uint8_t * ktxTexture_GetData(ktxTexture * This)
-
ktxTexture_GetData
ktx_uint8_t * ktxTexture_GetData(ktxTexture * This)
-
nktxTexture_GetRowPitch
public static int nktxTexture_GetRowPitch(long This, int level) ktx_uint32_t ktxTexture_GetRowPitch(ktxTexture * This, ktx_uint32_t level)
-
ktxTexture_GetRowPitch
ktx_uint32_t ktxTexture_GetRowPitch(ktxTexture * This, ktx_uint32_t level)
-
nktxTexture_GetElementSize
public static int nktxTexture_GetElementSize(long This) ktx_uint32_t ktxTexture_GetElementSize(ktxTexture * This)
-
ktxTexture_GetElementSize
ktx_uint32_t ktxTexture_GetElementSize(ktxTexture * This)
-
nktxTexture_GetDataSize
public static long nktxTexture_GetDataSize(long This) ktx_size_t ktxTexture_GetDataSize(ktxTexture * This)
-
ktxTexture_GetDataSize
ktx_size_t ktxTexture_GetDataSize(ktxTexture * This)
-
nktxTexture_GLUpload
public static int nktxTexture_GLUpload(long This, long pTexture, long pTarget, long pGlerror) KTX_error_code ktxTexture_GLUpload(ktxTexture * This, GLuint * pTexture, GLenum * pTarget, GLenum * pGlerror)
-
ktxTexture_GLUpload
public static int ktxTexture_GLUpload(ktxTexture This, IntBuffer pTexture, IntBuffer pTarget, IntBuffer pGlerror) KTX_error_code ktxTexture_GLUpload(ktxTexture * This, GLuint * pTexture, GLenum * pTarget, GLenum * pGlerror)
-
nktxTexture_IterateLevelFaces
public static int nktxTexture_IterateLevelFaces(long This, long iterCb, long userdata) KTX_error_code ktxTexture_IterateLevelFaces(ktxTexture * This, PFNKTXITERCB iterCb, void * userdata)
-
ktxTexture_IterateLevelFaces
public static int ktxTexture_IterateLevelFaces(ktxTexture This, PFNKTXITERCBI iterCb, long userdata) KTX_error_code ktxTexture_IterateLevelFaces(ktxTexture * This, PFNKTXITERCB iterCb, void * userdata)
-
nktxTexture1_Create
public static int nktxTexture1_Create(long createInfo, int storageAllocation, long newTex) KTX_error_code ktxTexture1_Create(ktxTextureCreateInfo const * const createInfo, ktxTextureCreateStorageEnum storageAllocation, ktxTexture1 ** newTex)
-
ktxTexture1_Create
public static int ktxTexture1_Create(ktxTextureCreateInfo createInfo, int storageAllocation, PointerBuffer newTex) KTX_error_code ktxTexture1_Create(ktxTextureCreateInfo const * const createInfo, ktxTextureCreateStorageEnum storageAllocation, ktxTexture1 ** newTex)
-
nktxTexture1_CreateFromNamedFile
public static int nktxTexture1_CreateFromNamedFile(long filename, int createFlags, long newTex) KTX_error_code ktxTexture1_CreateFromNamedFile(char const * const filename, ktxTextureCreateFlags createFlags, ktxTexture1 ** newTex)
-
ktxTexture1_CreateFromNamedFile
public static int ktxTexture1_CreateFromNamedFile(ByteBuffer filename, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture1_CreateFromNamedFile(char const * const filename, ktxTextureCreateFlags createFlags, ktxTexture1 ** newTex)
-
ktxTexture1_CreateFromNamedFile
public static int ktxTexture1_CreateFromNamedFile(CharSequence filename, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture1_CreateFromNamedFile(char const * const filename, ktxTextureCreateFlags createFlags, ktxTexture1 ** newTex)
-
nktxTexture1_CreateFromMemory
public static int nktxTexture1_CreateFromMemory(long bytes, long size, int createFlags, long newTex) KTX_error_code ktxTexture1_CreateFromMemory(ktx_uint8_t const * bytes, ktx_size_t size, ktxTextureCreateFlags createFlags, ktxTexture1 ** newTex)
-
ktxTexture1_CreateFromMemory
public static int ktxTexture1_CreateFromMemory(ByteBuffer bytes, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture1_CreateFromMemory(ktx_uint8_t const * bytes, ktx_size_t size, ktxTextureCreateFlags createFlags, ktxTexture1 ** newTex)
-
nktxTexture1_CreateFromStream
public static int nktxTexture1_CreateFromStream(long stream, int createFlags, long newTex) KTX_error_code ktxTexture1_CreateFromStream(struct ktxStream * stream, ktxTextureCreateFlags createFlags, ktxTexture1 ** newTex)
-
ktxTexture1_CreateFromStream
public static int ktxTexture1_CreateFromStream(ktxStream stream, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture1_CreateFromStream(struct ktxStream * stream, ktxTextureCreateFlags createFlags, ktxTexture1 ** newTex)
-
nktxTexture1_Destroy
public static void nktxTexture1_Destroy(long This) void ktxTexture1_Destroy(ktxTexture1 * This)
-
ktxTexture1_Destroy
void ktxTexture1_Destroy(ktxTexture1 * This)
-
nktxTexture1_NeedsTranscoding
public static boolean nktxTexture1_NeedsTranscoding(long This) ktx_bool_t ktxTexture1_NeedsTranscoding(ktxTexture1 * This)
-
ktxTexture1_NeedsTranscoding
ktx_bool_t ktxTexture1_NeedsTranscoding(ktxTexture1 * This)
-
nktxTexture1_LoadImageData
public static int nktxTexture1_LoadImageData(long This, long pBuffer, long bufSize) KTX_error_code ktxTexture1_LoadImageData(ktxTexture1 * This, ktx_uint8_t * pBuffer, ktx_size_t bufSize)
-
ktxTexture1_LoadImageData
KTX_error_code ktxTexture1_LoadImageData(ktxTexture1 * This, ktx_uint8_t * pBuffer, ktx_size_t bufSize)
-
nktxTexture1_WriteToNamedFile
public static int nktxTexture1_WriteToNamedFile(long This, long dstname) KTX_error_code ktxTexture1_WriteToNamedFile(ktxTexture1 * This, char const * const dstname)
-
ktxTexture1_WriteToNamedFile
KTX_error_code ktxTexture1_WriteToNamedFile(ktxTexture1 * This, char const * const dstname)
-
ktxTexture1_WriteToNamedFile
KTX_error_code ktxTexture1_WriteToNamedFile(ktxTexture1 * This, char const * const dstname)
-
nktxTexture1_WriteToMemory
public static int nktxTexture1_WriteToMemory(long This, long bytes, long size) KTX_error_code ktxTexture1_WriteToMemory(ktxTexture1 * This, ktx_uint8_t ** bytes, ktx_size_t * size)
-
ktxTexture1_WriteToMemory
public static int ktxTexture1_WriteToMemory(ktxTexture1 This, PointerBuffer bytes, PointerBuffer size) KTX_error_code ktxTexture1_WriteToMemory(ktxTexture1 * This, ktx_uint8_t ** bytes, ktx_size_t * size)
-
nktxTexture1_WriteToStream
public static int nktxTexture1_WriteToStream(long This, long dststr) KTX_error_code ktxTexture1_WriteToStream(ktxTexture1 * This, struct ktxStream * dststr)
-
ktxTexture1_WriteToStream
KTX_error_code ktxTexture1_WriteToStream(ktxTexture1 * This, struct ktxStream * dststr)
-
nktxTexture1_WriteKTX2ToNamedFile
public static int nktxTexture1_WriteKTX2ToNamedFile(long This, long dstname) KTX_error_code ktxTexture1_WriteKTX2ToNamedFile(ktxTexture1 * This, char const * const dstname)
-
ktxTexture1_WriteKTX2ToNamedFile
KTX_error_code ktxTexture1_WriteKTX2ToNamedFile(ktxTexture1 * This, char const * const dstname)
-
ktxTexture1_WriteKTX2ToNamedFile
KTX_error_code ktxTexture1_WriteKTX2ToNamedFile(ktxTexture1 * This, char const * const dstname)
-
nktxTexture1_WriteKTX2ToMemory
public static int nktxTexture1_WriteKTX2ToMemory(long This, long bytes, long size) KTX_error_code ktxTexture1_WriteKTX2ToMemory(ktxTexture1 * This, ktx_uint8_t ** bytes, ktx_size_t * size)
-
ktxTexture1_WriteKTX2ToMemory
public static int ktxTexture1_WriteKTX2ToMemory(ktxTexture1 This, PointerBuffer bytes, PointerBuffer size) KTX_error_code ktxTexture1_WriteKTX2ToMemory(ktxTexture1 * This, ktx_uint8_t ** bytes, ktx_size_t * size)
-
nktxTexture1_WriteKTX2ToStream
public static int nktxTexture1_WriteKTX2ToStream(long This, long dststr) KTX_error_code ktxTexture1_WriteKTX2ToStream(ktxTexture1 * This, struct ktxStream * dststr)
-
ktxTexture1_WriteKTX2ToStream
KTX_error_code ktxTexture1_WriteKTX2ToStream(ktxTexture1 * This, struct ktxStream * dststr)
-
nktxTexture2_Create
public static int nktxTexture2_Create(long createInfo, int storageAllocation, long newTex) KTX_error_code ktxTexture2_Create(ktxTextureCreateInfo const * const createInfo, ktxTextureCreateStorageEnum storageAllocation, ktxTexture2 ** newTex)
-
ktxTexture2_Create
public static int ktxTexture2_Create(ktxTextureCreateInfo createInfo, int storageAllocation, PointerBuffer newTex) KTX_error_code ktxTexture2_Create(ktxTextureCreateInfo const * const createInfo, ktxTextureCreateStorageEnum storageAllocation, ktxTexture2 ** newTex)
-
nktxTexture2_CreateCopy
public static int nktxTexture2_CreateCopy(long orig, long newTex) KTX_error_code ktxTexture2_CreateCopy(ktxTexture2 * orig, ktxTexture2 ** newTex)
-
ktxTexture2_CreateCopy
KTX_error_code ktxTexture2_CreateCopy(ktxTexture2 * orig, ktxTexture2 ** newTex)
-
nktxTexture2_CreateFromNamedFile
public static int nktxTexture2_CreateFromNamedFile(long filename, int createFlags, long newTex) KTX_error_code ktxTexture2_CreateFromNamedFile(char const * const filename, ktxTextureCreateFlags createFlags, ktxTexture2 ** newTex)
-
ktxTexture2_CreateFromNamedFile
public static int ktxTexture2_CreateFromNamedFile(ByteBuffer filename, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture2_CreateFromNamedFile(char const * const filename, ktxTextureCreateFlags createFlags, ktxTexture2 ** newTex)
-
ktxTexture2_CreateFromNamedFile
public static int ktxTexture2_CreateFromNamedFile(CharSequence filename, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture2_CreateFromNamedFile(char const * const filename, ktxTextureCreateFlags createFlags, ktxTexture2 ** newTex)
-
nktxTexture2_CreateFromMemory
public static int nktxTexture2_CreateFromMemory(long bytes, long size, int createFlags, long newTex) KTX_error_code ktxTexture2_CreateFromMemory(ktx_uint8_t const * bytes, ktx_size_t size, ktxTextureCreateFlags createFlags, ktxTexture2 ** newTex)
-
ktxTexture2_CreateFromMemory
public static int ktxTexture2_CreateFromMemory(ByteBuffer bytes, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture2_CreateFromMemory(ktx_uint8_t const * bytes, ktx_size_t size, ktxTextureCreateFlags createFlags, ktxTexture2 ** newTex)
-
nktxTexture2_CreateFromStream
public static int nktxTexture2_CreateFromStream(long stream, int createFlags, long newTex) KTX_error_code ktxTexture2_CreateFromStream(struct ktxStream * stream, ktxTextureCreateFlags createFlags, ktxTexture2 ** newTex)
-
ktxTexture2_CreateFromStream
public static int ktxTexture2_CreateFromStream(ktxStream stream, int createFlags, PointerBuffer newTex) KTX_error_code ktxTexture2_CreateFromStream(struct ktxStream * stream, ktxTextureCreateFlags createFlags, ktxTexture2 ** newTex)
-
nktxTexture2_Destroy
public static void nktxTexture2_Destroy(long This) void ktxTexture2_Destroy(ktxTexture2 * This)
-
ktxTexture2_Destroy
void ktxTexture2_Destroy(ktxTexture2 * This)
-
nktxTexture2_CompressBasis
public static int nktxTexture2_CompressBasis(long This, int quality) KTX_error_code ktxTexture2_CompressBasis(ktxTexture2 * This, ktx_uint32_t quality)
-
ktxTexture2_CompressBasis
KTX_error_code ktxTexture2_CompressBasis(ktxTexture2 * This, ktx_uint32_t quality)
-
nktxTexture2_DeflateZstd
public static int nktxTexture2_DeflateZstd(long This, int level) KTX_error_code ktxTexture2_DeflateZstd(ktxTexture2 * This, ktx_uint32_t level)
-
ktxTexture2_DeflateZstd
KTX_error_code ktxTexture2_DeflateZstd(ktxTexture2 * This, ktx_uint32_t level)
-
nktxTexture2_DeflateZLIB
public static int nktxTexture2_DeflateZLIB(long This, int level) KTX_error_code ktxTexture2_DeflateZLIB(ktxTexture2 * This, ktx_uint32_t level)
-
ktxTexture2_DeflateZLIB
KTX_error_code ktxTexture2_DeflateZLIB(ktxTexture2 * This, ktx_uint32_t level)
-
nktxTexture2_GetComponentInfo
public static void nktxTexture2_GetComponentInfo(long This, long numComponents, long componentByteLength) void ktxTexture2_GetComponentInfo(ktxTexture2 * This, ktx_uint32_t * numComponents, ktx_uint32_t * componentByteLength)
-
ktxTexture2_GetComponentInfo
public static void ktxTexture2_GetComponentInfo(ktxTexture2 This, IntBuffer numComponents, IntBuffer componentByteLength) void ktxTexture2_GetComponentInfo(ktxTexture2 * This, ktx_uint32_t * numComponents, ktx_uint32_t * componentByteLength)
-
nktxTexture2_GetImageOffset
public static int nktxTexture2_GetImageOffset(long This, int level, int layer, int faceSlice, long pOffset) KTX_error_code ktxTexture2_GetImageOffset(ktxTexture2 * This, ktx_uint32_t level, ktx_uint32_t layer, ktx_uint32_t faceSlice, ktx_size_t * pOffset)
-
ktxTexture2_GetImageOffset
public static int ktxTexture2_GetImageOffset(ktxTexture2 This, int level, int layer, int faceSlice, PointerBuffer pOffset) KTX_error_code ktxTexture2_GetImageOffset(ktxTexture2 * This, ktx_uint32_t level, ktx_uint32_t layer, ktx_uint32_t faceSlice, ktx_size_t * pOffset)
-
nktxTexture2_GetNumComponents
public static int nktxTexture2_GetNumComponents(long This) ktx_uint32_t ktxTexture2_GetNumComponents(ktxTexture2 * This)
-
ktxTexture2_GetNumComponents
ktx_uint32_t ktxTexture2_GetNumComponents(ktxTexture2 * This)
-
nktxTexture2_GetTransferFunction_e
public static int nktxTexture2_GetTransferFunction_e(long This) khr_df_transfer_e ktxTexture2_GetTransferFunction_e(ktxTexture2 * This)
-
ktxTexture2_GetTransferFunction_e
khr_df_transfer_e ktxTexture2_GetTransferFunction_e(ktxTexture2 * This)
-
nktxTexture2_GetOETF_e
public static int nktxTexture2_GetOETF_e(long This) khr_df_transfer_e ktxTexture2_GetOETF_e(ktxTexture2 * This)
-
ktxTexture2_GetOETF_e
khr_df_transfer_e ktxTexture2_GetOETF_e(ktxTexture2 * This)
-
nktxTexture2_GetOETF
public static int nktxTexture2_GetOETF(long This) ktx_uint32_t ktxTexture2_GetOETF(ktxTexture2 * This)
-
ktxTexture2_GetOETF
ktx_uint32_t ktxTexture2_GetOETF(ktxTexture2 * This)
-
nktxTexture2_GetColorModel_e
public static int nktxTexture2_GetColorModel_e(long This) khr_df_model_e ktxTexture2_GetColorModel_e(ktxTexture2 * This)
-
ktxTexture2_GetColorModel_e
khr_df_model_e ktxTexture2_GetColorModel_e(ktxTexture2 * This)
-
nktxTexture2_GetPremultipliedAlpha
public static boolean nktxTexture2_GetPremultipliedAlpha(long This) ktx_bool_t ktxTexture2_GetPremultipliedAlpha(ktxTexture2 * This)
-
ktxTexture2_GetPremultipliedAlpha
ktx_bool_t ktxTexture2_GetPremultipliedAlpha(ktxTexture2 * This)
-
nktxTexture2_GetPrimaries_e
public static int nktxTexture2_GetPrimaries_e(long This) khr_df_primaries_e ktxTexture2_GetPrimaries_e(ktxTexture2 * This)
-
ktxTexture2_GetPrimaries_e
khr_df_primaries_e ktxTexture2_GetPrimaries_e(ktxTexture2 * This)
-
nktxTexture2_NeedsTranscoding
public static boolean nktxTexture2_NeedsTranscoding(long This) ktx_bool_t ktxTexture2_NeedsTranscoding(ktxTexture2 * This)
-
ktxTexture2_NeedsTranscoding
ktx_bool_t ktxTexture2_NeedsTranscoding(ktxTexture2 * This)
-
nktxTexture2_SetTransferFunction
public static int nktxTexture2_SetTransferFunction(long This, int tf) KTX_error_code ktxTexture2_SetTransferFunction(ktxTexture2 * This, khr_df_transfer_e tf)
-
ktxTexture2_SetTransferFunction
KTX_error_code ktxTexture2_SetTransferFunction(ktxTexture2 * This, khr_df_transfer_e tf)
-
nktxTexture2_SetOETF
public static int nktxTexture2_SetOETF(long This, int oetf) KTX_error_code ktxTexture2_SetOETF(ktxTexture2 * This, khr_df_transfer_e oetf)
-
ktxTexture2_SetOETF
KTX_error_code ktxTexture2_SetOETF(ktxTexture2 * This, khr_df_transfer_e oetf)
-
nktxTexture2_SetPrimaries
public static int nktxTexture2_SetPrimaries(long This, int primaries) KTX_error_code ktxTexture2_SetPrimaries(ktxTexture2 * This, khr_df_primaries_e primaries)
-
ktxTexture2_SetPrimaries
KTX_error_code ktxTexture2_SetPrimaries(ktxTexture2 * This, khr_df_primaries_e primaries)
-
nktxTexture2_LoadImageData
public static int nktxTexture2_LoadImageData(long This, long pBuffer, long bufSize) KTX_error_code ktxTexture2_LoadImageData(ktxTexture2 * This, ktx_uint8_t * pBuffer, ktx_size_t bufSize)
-
ktxTexture2_LoadImageData
KTX_error_code ktxTexture2_LoadImageData(ktxTexture2 * This, ktx_uint8_t * pBuffer, ktx_size_t bufSize)
-
nktxTexture2_LoadDeflatedImageData
public static int nktxTexture2_LoadDeflatedImageData(long This, long pBuffer, long bufSize) KTX_error_code ktxTexture2_LoadDeflatedImageData(ktxTexture2 * This, ktx_uint8_t * pBuffer, ktx_size_t bufSize)
-
ktxTexture2_LoadDeflatedImageData
KTX_error_code ktxTexture2_LoadDeflatedImageData(ktxTexture2 * This, ktx_uint8_t * pBuffer, ktx_size_t bufSize)
-
nktxTexture2_WriteToNamedFile
public static int nktxTexture2_WriteToNamedFile(long This, long dstname) KTX_error_code ktxTexture2_WriteToNamedFile(ktxTexture2 * This, char const * const dstname)
-
ktxTexture2_WriteToNamedFile
KTX_error_code ktxTexture2_WriteToNamedFile(ktxTexture2 * This, char const * const dstname)
-
ktxTexture2_WriteToNamedFile
KTX_error_code ktxTexture2_WriteToNamedFile(ktxTexture2 * This, char const * const dstname)
-
nktxTexture2_WriteToMemory
public static int nktxTexture2_WriteToMemory(long This, long bytes, long size) KTX_error_code ktxTexture2_WriteToMemory(ktxTexture2 * This, ktx_uint8_t ** bytes, ktx_size_t * size)
-
ktxTexture2_WriteToMemory
public static int ktxTexture2_WriteToMemory(ktxTexture2 This, PointerBuffer bytes, PointerBuffer size) KTX_error_code ktxTexture2_WriteToMemory(ktxTexture2 * This, ktx_uint8_t ** bytes, ktx_size_t * size)
-
nktxTexture2_WriteToStream
public static int nktxTexture2_WriteToStream(long This, long dststr) KTX_error_code ktxTexture2_WriteToStream(ktxTexture2 * This, struct ktxStream * dststr)
-
ktxTexture2_WriteToStream
KTX_error_code ktxTexture2_WriteToStream(ktxTexture2 * This, struct ktxStream * dststr)
-
nktxTexture2_CompressAstcEx
public static int nktxTexture2_CompressAstcEx(long This, long params) KTX_error_code ktxTexture2_CompressAstcEx(ktxTexture2 * This, ktxAstcParams * params)
-
ktxTexture2_CompressAstcEx
KTX_error_code ktxTexture2_CompressAstcEx(ktxTexture2 * This, ktxAstcParams * params)
-
nktxTexture2_DecodeAstc
public static int nktxTexture2_DecodeAstc(long This) KTX_error_code ktxTexture2_DecodeAstc(ktxTexture2 * This)
-
ktxTexture2_DecodeAstc
KTX_error_code ktxTexture2_DecodeAstc(ktxTexture2 * This)
-
nktxTexture2_CompressAstc
public static int nktxTexture2_CompressAstc(long This, int quality) KTX_error_code ktxTexture2_CompressAstc(ktxTexture2 * This, ktx_uint32_t quality)
-
ktxTexture2_CompressAstc
KTX_error_code ktxTexture2_CompressAstc(ktxTexture2 * This, ktx_uint32_t quality)
-
nktxTexture2_CompressBasisEx
public static int nktxTexture2_CompressBasisEx(long This, long params) KTX_error_code ktxTexture2_CompressBasisEx(ktxTexture2 * This, ktxBasisParams * params)
-
ktxTexture2_CompressBasisEx
KTX_error_code ktxTexture2_CompressBasisEx(ktxTexture2 * This, ktxBasisParams * params)
-
nktxTexture2_TranscodeBasis
public static int nktxTexture2_TranscodeBasis(long This, int fmt, int transcodeFlags) KTX_error_code ktxTexture2_TranscodeBasis(ktxTexture2 * This, ktx_transcode_fmt_e fmt, ktx_transcode_flags transcodeFlags)
-
ktxTexture2_TranscodeBasis
KTX_error_code ktxTexture2_TranscodeBasis(ktxTexture2 * This, ktx_transcode_fmt_e fmt, ktx_transcode_flags transcodeFlags)
-
nktxErrorString
public static long nktxErrorString(int error) char const * ktxErrorString(KTX_error_code error)
-
ktxErrorString
char const * ktxErrorString(KTX_error_code error)
-
nktxSupercompressionSchemeString
public static long nktxSupercompressionSchemeString(int scheme) char const * ktxSupercompressionSchemeString(ktxSupercmpScheme scheme)
-
ktxSupercompressionSchemeString
char const * ktxSupercompressionSchemeString(ktxSupercmpScheme scheme)
-
nktxTranscodeFormatString
public static long nktxTranscodeFormatString(int format) char const * ktxTranscodeFormatString(ktx_transcode_fmt_e format)
-
ktxTranscodeFormatString
char const * ktxTranscodeFormatString(ktx_transcode_fmt_e format)
-
nktxHashList_Create
public static int nktxHashList_Create(long ppHl) KTX_error_code ktxHashList_Create(ktxHashList** ppHl)
-
ktxHashList_Create
KTX_error_code ktxHashList_Create(ktxHashList** ppHl)
-
nktxHashList_CreateCopy
public static int nktxHashList_CreateCopy(long ppHl, long orig) KTX_error_code ktxHashList_CreateCopy(ktxHashList** ppHl, ktxHashList orig)
-
ktxHashList_CreateCopy
KTX_error_code ktxHashList_CreateCopy(ktxHashList** ppHl, ktxHashList orig)
-
ktxHashList_Construct
public static void ktxHashList_Construct(long pHl) void ktxHashList_Construct(ktxHashList* pHl)
-
ktxHashList_ConstructCopy
public static void ktxHashList_ConstructCopy(long pHl, long orig) void ktxHashList_ConstructCopy(ktxHashList* pHl, ktxHashList orig)
-
ktxHashList_Destroy
public static void ktxHashList_Destroy(long head) void ktxHashList_Destroy(ktxHashList* head)
-
ktxHashList_Destruct
public static void ktxHashList_Destruct(long head) void ktxHashList_Destruct(ktxHashList* head)
-
nktxHashList_AddKVPair
public static int nktxHashList_AddKVPair(long pHead, long key, int valueLen, long value) KTX_error_code ktxHashList_AddKVPair(ktxHashList* pHead, char const * key, unsigned int valueLen, void const * value)
-
ktxHashList_AddKVPair
KTX_error_code ktxHashList_AddKVPair(ktxHashList* pHead, char const * key, unsigned int valueLen, void const * value)
-
ktxHashList_AddKVPair
KTX_error_code ktxHashList_AddKVPair(ktxHashList* pHead, char const * key, unsigned int valueLen, void const * value)
-
ktxHashList_DeleteEntry
public static int ktxHashList_DeleteEntry(long pHead, long pEntry) KTX_error_code ktxHashList_DeleteEntry(ktxHashList* pHead, ktxHashListEntry * pEntry)
-
nktxHashList_DeleteKVPair
public static int nktxHashList_DeleteKVPair(long pHead, long key) KTX_error_code ktxHashList_DeleteKVPair(ktxHashList* pHead, char const * key)
-
ktxHashList_DeleteKVPair
KTX_error_code ktxHashList_DeleteKVPair(ktxHashList* pHead, char const * key)
-
ktxHashList_DeleteKVPair
KTX_error_code ktxHashList_DeleteKVPair(ktxHashList* pHead, char const * key)
-
nktxHashList_FindEntry
public static int nktxHashList_FindEntry(long pHead, long key, long ppEntry) KTX_error_code ktxHashList_FindEntry(ktxHashList* pHead, char const * key, ktxHashListEntry ** ppEntry)
-
ktxHashList_FindEntry
KTX_error_code ktxHashList_FindEntry(ktxHashList* pHead, char const * key, ktxHashListEntry ** ppEntry)
-
ktxHashList_FindEntry
KTX_error_code ktxHashList_FindEntry(ktxHashList* pHead, char const * key, ktxHashListEntry ** ppEntry)
-
nktxHashList_FindValue
public static int nktxHashList_FindValue(long pHead, long key, long pValueLen, long pValue) KTX_error_code ktxHashList_FindValue(ktxHashList* pHead, char const * key, unsigned int * pValueLen, void ** pValue)
-
ktxHashList_FindValue
public static int ktxHashList_FindValue(long pHead, ByteBuffer key, IntBuffer pValueLen, PointerBuffer pValue) KTX_error_code ktxHashList_FindValue(ktxHashList* pHead, char const * key, unsigned int * pValueLen, void ** pValue)
-
ktxHashList_FindValue
public static int ktxHashList_FindValue(long pHead, CharSequence key, IntBuffer pValueLen, PointerBuffer pValue) KTX_error_code ktxHashList_FindValue(ktxHashList* pHead, char const * key, unsigned int * pValueLen, void ** pValue)
-
ktxHashList_Next
public static long ktxHashList_Next(long entry) ktxHashListEntry * ktxHashList_Next(ktxHashListEntry * entry)
-
ktxHashList_Sort
public static int ktxHashList_Sort(long pHead) KTX_error_code ktxHashList_Sort(ktxHashList* pHead)
-
nktxHashList_Serialize
public static int nktxHashList_Serialize(long pHead, long kvdLen, long kvd) KTX_error_code ktxHashList_Serialize(ktxHashList* pHead, unsigned int * kvdLen, unsigned char ** kvd)
-
ktxHashList_Serialize
KTX_error_code ktxHashList_Serialize(ktxHashList* pHead, unsigned int * kvdLen, unsigned char ** kvd)
-
nktxHashList_Deserialize
public static int nktxHashList_Deserialize(long pHead, int kvdLen, long kvd) KTX_error_code ktxHashList_Deserialize(ktxHashList* pHead, unsigned int kvdLen, void * kvd)
-
ktxHashList_Deserialize
KTX_error_code ktxHashList_Deserialize(ktxHashList* pHead, unsigned int kvdLen, void * kvd)
-
nktxHashListEntry_GetKey
public static int nktxHashListEntry_GetKey(long This, long pKeyLen, long ppKey) KTX_error_code ktxHashListEntry_GetKey(ktxHashListEntry * This, unsigned int * pKeyLen, char ** ppKey)
-
ktxHashListEntry_GetKey
KTX_error_code ktxHashListEntry_GetKey(ktxHashListEntry * This, unsigned int * pKeyLen, char ** ppKey)
-
nktxHashListEntry_GetValue
public static int nktxHashListEntry_GetValue(long This, long pValueLen, long ppValue) KTX_error_code ktxHashListEntry_GetValue(ktxHashListEntry * This, unsigned int * pValueLen, void ** ppValue)
-
ktxHashListEntry_GetValue
KTX_error_code ktxHashListEntry_GetValue(ktxHashListEntry * This, unsigned int * pValueLen, void ** ppValue)
-
nktxPrintInfoForNamedFile
public static int nktxPrintInfoForNamedFile(long filename) KTX_error_code ktxPrintInfoForNamedFile(char const * const filename)
-
ktxPrintInfoForNamedFile
KTX_error_code ktxPrintInfoForNamedFile(char const * const filename)
-
ktxPrintInfoForNamedFile
KTX_error_code ktxPrintInfoForNamedFile(char const * const filename)
-
nktxPrintInfoForMemory
public static int nktxPrintInfoForMemory(long bytes, long size) KTX_error_code ktxPrintInfoForMemory(ktx_uint8_t const * bytes, ktx_size_t size)
-
ktxPrintInfoForMemory
KTX_error_code ktxPrintInfoForMemory(ktx_uint8_t const * bytes, ktx_size_t size)
-
nktxPrintKTX2InfoTextForMemory
public static int nktxPrintKTX2InfoTextForMemory(long bytes, long size) KTX_error_code ktxPrintKTX2InfoTextForMemory(ktx_uint8_t const * bytes, ktx_size_t size)
-
ktxPrintKTX2InfoTextForMemory
KTX_error_code ktxPrintKTX2InfoTextForMemory(ktx_uint8_t const * bytes, ktx_size_t size)
-
nktxPrintKTX2InfoTextForNamedFile
public static int nktxPrintKTX2InfoTextForNamedFile(long filename) KTX_error_code ktxPrintKTX2InfoTextForNamedFile(char const * const filename)
-
ktxPrintKTX2InfoTextForNamedFile
KTX_error_code ktxPrintKTX2InfoTextForNamedFile(char const * const filename)
-
ktxPrintKTX2InfoTextForNamedFile
KTX_error_code ktxPrintKTX2InfoTextForNamedFile(char const * const filename)
-
nktxPrintKTX2InfoTextForStream
public static int nktxPrintKTX2InfoTextForStream(long stream) KTX_error_code ktxPrintKTX2InfoTextForStream(struct ktxStream * stream)
-
ktxPrintKTX2InfoTextForStream
KTX_error_code ktxPrintKTX2InfoTextForStream(struct ktxStream * stream)
-
nktxPrintKTX2InfoJSONForMemory
public static int nktxPrintKTX2InfoJSONForMemory(long bytes, long size, int base_indent, int indent_width, boolean minified) KTX_error_code ktxPrintKTX2InfoJSONForMemory(ktx_uint8_t const * bytes, ktx_size_t size, ktx_uint32_t base_indent, ktx_uint32_t indent_width, bool minified)
-
ktxPrintKTX2InfoJSONForMemory
public static int ktxPrintKTX2InfoJSONForMemory(ByteBuffer bytes, int base_indent, int indent_width, boolean minified) KTX_error_code ktxPrintKTX2InfoJSONForMemory(ktx_uint8_t const * bytes, ktx_size_t size, ktx_uint32_t base_indent, ktx_uint32_t indent_width, bool minified)
-
nktxPrintKTX2InfoJSONForNamedFile
public static int nktxPrintKTX2InfoJSONForNamedFile(long filename, int base_indent, int indent_width, boolean minified) KTX_error_code ktxPrintKTX2InfoJSONForNamedFile(char const * const filename, ktx_uint32_t base_indent, ktx_uint32_t indent_width, bool minified)
-
ktxPrintKTX2InfoJSONForNamedFile
public static int ktxPrintKTX2InfoJSONForNamedFile(ByteBuffer filename, int base_indent, int indent_width, boolean minified) KTX_error_code ktxPrintKTX2InfoJSONForNamedFile(char const * const filename, ktx_uint32_t base_indent, ktx_uint32_t indent_width, bool minified)
-
ktxPrintKTX2InfoJSONForNamedFile
public static int ktxPrintKTX2InfoJSONForNamedFile(CharSequence filename, int base_indent, int indent_width, boolean minified) KTX_error_code ktxPrintKTX2InfoJSONForNamedFile(char const * const filename, ktx_uint32_t base_indent, ktx_uint32_t indent_width, bool minified)
-
nktxPrintKTX2InfoJSONForStream
public static int nktxPrintKTX2InfoJSONForStream(long stream, int base_indent, int indent_width, boolean minified) KTX_error_code ktxPrintKTX2InfoJSONForStream(struct ktxStream * stream, ktx_uint32_t base_indent, ktx_uint32_t indent_width, bool minified)
-
ktxPrintKTX2InfoJSONForStream
public static int ktxPrintKTX2InfoJSONForStream(ktxStream stream, int base_indent, int indent_width, boolean minified) KTX_error_code ktxPrintKTX2InfoJSONForStream(struct ktxStream * stream, ktx_uint32_t base_indent, ktx_uint32_t indent_width, bool minified)
-
ktxTexture_Destroy
-
ktxTexture_GetImageOffset
public static int ktxTexture_GetImageOffset(ktxTexture This, int level, int layer, int faceSlice, PointerBuffer pOffset) -
ktxTexture_GetDataSizeUncompressed
-
ktxTexture_GetImageSize
-
ktxTexture_GetLevelSize
-
ktxTexture_IterateLevels
-
ktxTexture_IterateLoadLevelFaces
public static int ktxTexture_IterateLoadLevelFaces(ktxTexture This, PFNKTXITERCBI iterCb, long userdata) -
ktxTexture_LoadImageData
-
ktxTexture_NeedsTranscoding
-
ktxTexture_SetImageFromMemory
public static int ktxTexture_SetImageFromMemory(ktxTexture This, int level, int layer, int faceSlice, ByteBuffer src) -
ktxWriteToNamedFile
-
ktxWriteToNamedFile
-
ktxTexture_WriteToMemory
public static int ktxTexture_WriteToMemory(ktxTexture This, PointerBuffer bytes, PointerBuffer size) -
ktxTexture_WriteToStream
-