Class KTX
KTX is a lightweight container for textures for OpenGLĀ®, VulkanĀ® and other GPU APIs. KTX files contain all the parameters needed for texture loading. A single file can contain anything from a simple base-level 2D texture through to a cubemap array texture with mipmaps. Contained textures can be in a Basis Universal format, in any of the block-compressed formats supported by OpenGL family and Vulkan APIs and extensions or in an uncompressed single-plane format. Basis Universal currently encompasses two formats that can be quickly transcoded to any GPU-supported format: LZ/ETC1S, which combines block-compression and supercompression, and UASTC, a block-compressed format. Formats other than LZ/ETC1S can be supercompressed with Zstd.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded from the ktxSharedLibrary. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intenum streamTypestatic final intenum streamTypestatic final intenum streamTypestatic final Stringstatic final int(ktx_error_code_e)static final int(ktx_error_code_e)static final intstatic final intstatic final intstatic final intstatic final intstatic final int(ktx_error_code_e)static final int(ktx_error_code_e)static final int(ktx_error_code_e)static final int(ktx_error_code_e)static final int(ktx_error_code_e)static final int(ktx_error_code_e)static final int(ktx_error_code_e)static final int(ktx_error_code_e)static final int(ktx_error_code_e)static final intstatic final intstatic final byte[]static final int(ktx_error_code_e)static final int(ktx_error_code_e)static final int(ktx_error_code_e)static final int(ktx_error_code_e)static final intktxOrientationXstatic final intktxOrientationXstatic final intktxOrientationYstatic final intktxOrientationYstatic final intktxOrientationZstatic final intktxOrientationZstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final int(ktx_error_code_e)static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifiying ASTC encoding block dimensions.static final intOptions specifying ASTC encoder profile mode.static final intOptions specifying ASTC encoder profile mode.static final intOptions specifying ASTC encoder profile mode.static final intOptions specifying ASTC encoder profile mode.static final intOptions specifiying ASTC encoding quality levels.static final intOptions specifiying ASTC encoding quality levels.static final intOptions specifiying ASTC encoding quality levels.static final intOptions specifiying ASTC encoding quality levels.static final intOptions specifiying ASTC encoding quality levels.static final intOptions specifiying ASTC encoding quality levels.static final intFlags specifiying UASTC encoding options.static final intFlags specifiying UASTC encoding options.static final intFlags specifiying UASTC encoding options.static final intFlags specifiying UASTC encoding options.static final intFlags specifiying UASTC encoding options.static final intFlags specifiying UASTC encoding options.static final intFlags specifiying UASTC encoding options.static final intFlags specifiying UASTC encoding options.static final intFlags specifiying UASTC encoding options.static final intFlags specifiying UASTC encoding options.static final intFlags specifiying UASTC encoding options.static final intFlags specifiying UASTC encoding options.static final intEnumerators identifying the supercompression scheme.static final intEnumerators identifying the supercompression scheme.static final intEnumerators identifying the supercompression scheme.static final intEnumerators identifying the supercompression scheme.static final intEnumerators identifying the supercompression scheme.static final intEnumerators identifying the supercompression scheme.static final intEnumerators identifying the supercompression scheme.static final intEnumerators identifying the supercompression scheme.static final intEnumerators identifying the supercompression scheme.static final int(ktx_error_code_e)static final Stringstatic final intEnum for requesting, or not, allocation of storage for images.static final intFlags for requesting services during creation.static final intFlags for requesting services during creation.static final intFlags for requesting services during creation.static final intEnum for requesting, or not, allocation of storage for images.static final intFlags for requesting services during creation.static final intFlags for requesting services during creation.static final intFlags guiding transcoding of Basis Universal compressed textures.static final intFlags guiding transcoding of Basis Universal compressed textures.static final intFlags guiding transcoding of Basis Universal compressed textures.static final int(ktx_error_code_e)static final intstatic final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final intEnumerators for specifying the transcode target format.static final int(ktx_error_code_e)static final int(ktx_error_code_e)static final int(ktx_error_code_e)static final Stringstatic final Stringstatic final intclass_idstatic final intclass_id -
Method Summary
Modifier and TypeMethodDescriptionstatic org.lwjgl.system.SharedLibraryReturns the ktxSharedLibrary.static @Nullable StringktxErrorString(int error) Returns a string corresponding to a KTX error code.static intktxHashList_AddKVPair(long pHead, CharSequence key, ByteBuffer value) Adds a key-value pair to a hash list.static intktxHashList_AddKVPair(long pHead, ByteBuffer key, ByteBuffer value) Adds a key-value pair to a hash list.static voidktxHashList_Construct(long pHl) static voidktxHashList_ConstructCopy(long pHl, long orig) static intktxHashList_Create(org.lwjgl.PointerBuffer ppHl) static intktxHashList_CreateCopy(org.lwjgl.PointerBuffer ppHl, long orig) static intktxHashList_DeleteEntry(long pHead, long pEntry) Deletes aktxHashListEntryfrom aktxHashList.static intktxHashList_DeleteKVPair(long pHead, CharSequence key) Finds the entry for a key in aktxHashListand deletes it.static intktxHashList_DeleteKVPair(long pHead, ByteBuffer key) Finds the entry for a key in aktxHashListand deletes it.static intktxHashList_Deserialize(long pHead, ByteBuffer kvd) Creates a hash table from the serialized data read from a a KTX file.static voidktxHashList_Destroy(long head) static voidktxHashList_Destruct(long head) static intktxHashList_FindEntry(long pHead, CharSequence key, org.lwjgl.PointerBuffer ppEntry) Looks up a key and returns thektxHashListEntry.static intktxHashList_FindEntry(long pHead, ByteBuffer key, org.lwjgl.PointerBuffer ppEntry) Looks up a key and returns thektxHashListEntry.static intktxHashList_FindValue(long pHead, CharSequence key, IntBuffer pValueLen, org.lwjgl.PointerBuffer pValue) Looks up a key and returns the value.static intktxHashList_FindValue(long pHead, ByteBuffer key, IntBuffer pValueLen, org.lwjgl.PointerBuffer pValue) Looks up a key and returns the value.static longktxHashList_Next(long entry) Return the next entry in aktxHashList.static intktxHashList_Serialize(long pHead, IntBuffer kvdLen, org.lwjgl.PointerBuffer kvd) Serializes aktxHashListto a block of memory suitable for writing to a KTX file.static intktxHashList_Sort(long pHead) Sorts aktxHashListinto order of the key codepoints.static intktxHashListEntry_GetKey(long This, IntBuffer pKeyLen, org.lwjgl.PointerBuffer ppKey) Get the key from aktxHashListEntry.static intktxHashListEntry_GetValue(long This, IntBuffer pValueLen, org.lwjgl.PointerBuffer ppValue) Get the value from aktxHashListEntry.static intktxPrintInfoForMemory(ByteBuffer bytes) static intktxPrintInfoForNamedFile(CharSequence filename) static intktxPrintInfoForNamedFile(ByteBuffer filename) static intktxPrintKTX2InfoJSONForMemory(ByteBuffer bytes, int base_indent, int indent_width, boolean minified) static intktxPrintKTX2InfoJSONForNamedFile(CharSequence filename, int base_indent, int indent_width, boolean minified) static intktxPrintKTX2InfoJSONForNamedFile(ByteBuffer filename, int base_indent, int indent_width, boolean minified) static intktxPrintKTX2InfoJSONForStream(ktxStream stream, int base_indent, int indent_width, boolean minified) static intstatic intktxPrintKTX2InfoTextForNamedFile(CharSequence filename) static intktxPrintKTX2InfoTextForNamedFile(ByteBuffer filename) static intstatic @Nullable StringktxSupercompressionSchemeString(int scheme) Returns a string corresponding to a supercompression scheme.static intktxTexture_CreateFromMemory(ByteBuffer bytes, int createFlags, org.lwjgl.PointerBuffer newTex) static intktxTexture_CreateFromNamedFile(CharSequence filename, int createFlags, org.lwjgl.PointerBuffer newTex) static intktxTexture_CreateFromNamedFile(ByteBuffer filename, int createFlags, org.lwjgl.PointerBuffer newTex) static intktxTexture_CreateFromStream(ktxStream stream, int createFlags, org.lwjgl.PointerBuffer newTex) static voidktxTexture_Destroy(ktxTexture This) static @Nullable ByteBufferktxTexture_GetData(ktxTexture This) Returns a pointer to the image data of aktxTextureobject.static @Nullable ByteBufferktxTexture_GetData(ktxTexture This, long length) Returns a pointer to the image data of aktxTextureobject.static longReturns the size of all the image data of aktxTextureobject in bytes.static longstatic intReturn the element size of the texture's images.static intktxTexture_GetImageOffset(ktxTexture This, int level, int layer, int faceSlice, org.lwjgl.PointerBuffer pOffset) static longktxTexture_GetImageSize(ktxTexture This, int level) static intktxTexture_GetRowPitch(ktxTexture This, int level) Returns the pitch of a row of an image at the specified level.static intktxTexture_GLUpload(ktxTexture This, IntBuffer pTexture, IntBuffer pTarget, IntBuffer pGlerror) Uploads a texture to OpenGL.static intktxTexture_IterateLevelFaces(ktxTexture This, PFNKTXITERCBI iterCb, long userdata) Iterate over the levels or faces in aktxTextureobject.static intktxTexture_IterateLevels(ktxTexture This, PFNKTXITERCBI iterCb, long userdata) static intktxTexture_IterateLoadLevelFaces(ktxTexture This, PFNKTXITERCBI iterCb, long userdata) static intktxTexture_LoadImageData(ktxTexture This, ByteBuffer pBuffer) static booleanstatic intktxTexture_SetImageFromMemory(ktxTexture This, int level, int layer, int faceSlice, ByteBuffer src) static intktxTexture_WriteToMemory(ktxTexture This, org.lwjgl.PointerBuffer bytes, org.lwjgl.PointerBuffer size) static intktxTexture_WriteToStream(ktxTexture This, long dststr) static intktxTexture1_Create(ktxTextureCreateInfo createInfo, int storageAllocation, org.lwjgl.PointerBuffer newTex) Create a newktxTexture1.static intktxTexture1_CreateFromMemory(ByteBuffer bytes, int createFlags, org.lwjgl.PointerBuffer newTex) static intktxTexture1_CreateFromNamedFile(CharSequence filename, int createFlags, org.lwjgl.PointerBuffer newTex) static intktxTexture1_CreateFromNamedFile(ByteBuffer filename, int createFlags, org.lwjgl.PointerBuffer newTex) static intktxTexture1_CreateFromStream(ktxStream stream, int createFlags, org.lwjgl.PointerBuffer newTex) static booleanstatic intktxTexture1_WriteKTX2ToMemory(ktxTexture1 This, org.lwjgl.PointerBuffer bytes, org.lwjgl.PointerBuffer size) Write aktxTextureobject to a block of memory in KTX format.static intktxTexture1_WriteKTX2ToNamedFile(ktxTexture1 This, CharSequence dstname) Write aktxTextureobject to a named file in KTX format.static intktxTexture1_WriteKTX2ToNamedFile(ktxTexture1 This, ByteBuffer dstname) Write aktxTextureobject to a named file in KTX format.static intktxTexture1_WriteKTX2ToStream(ktxTexture1 This, ktxStream dststr) Write aktxTexture objectto aktxStreamin KTX format.static intktxTexture2_CompressAstc(ktxTexture2 This, int quality) static intktxTexture2_CompressAstcEx(ktxTexture2 This, ktxAstcParams params) static intktxTexture2_CompressBasis(ktxTexture2 This, int quality) static intktxTexture2_CompressBasisEx(ktxTexture2 This, ktxBasisParams params) static intktxTexture2_Create(ktxTextureCreateInfo createInfo, int storageAllocation, org.lwjgl.PointerBuffer newTex) Create a newktxTexture2.static intktxTexture2_CreateCopy(ktxTexture2 orig, org.lwjgl.PointerBuffer newTex) Create a newktxTexture2as a copy of an existing texture.static intktxTexture2_CreateFromMemory(ByteBuffer bytes, int createFlags, org.lwjgl.PointerBuffer newTex) static intktxTexture2_CreateFromNamedFile(CharSequence filename, int createFlags, org.lwjgl.PointerBuffer newTex) static intktxTexture2_CreateFromNamedFile(ByteBuffer filename, int createFlags, org.lwjgl.PointerBuffer newTex) static intktxTexture2_CreateFromStream(ktxStream stream, int createFlags, org.lwjgl.PointerBuffer newTex) static intktxTexture2_DeflateZLIB(ktxTexture2 This, int level) static intktxTexture2_DeflateZstd(ktxTexture2 This, int level) static intstatic voidktxTexture2_GetComponentInfo(ktxTexture2 This, IntBuffer numComponents, IntBuffer componentByteLength) static intstatic intstatic intstatic booleanstatic booleanstatic intktxTexture2_TranscodeBasis(ktxTexture2 This, int fmt, int transcodeFlags) static @Nullable StringktxTranscodeFormatString(int format) Returns a string corresponding to a transcode target format.static intktxWriteToNamedFile(ktxTexture This, CharSequence dstname) static intktxWriteToNamedFile(ktxTexture This, ByteBuffer dstname) static longnktxErrorString(int error) Unsafe version of:ErrorStringstatic intnktxHashList_AddKVPair(long pHead, long key, int valueLen, long value) Unsafe version of:HashList_AddKVPairstatic intnktxHashList_Create(long ppHl) static intnktxHashList_CreateCopy(long ppHl, long orig) static intnktxHashList_DeleteKVPair(long pHead, long key) Unsafe version of:HashList_DeleteKVPairstatic intnktxHashList_Deserialize(long pHead, int kvdLen, long kvd) Unsafe version of:HashList_Deserializestatic intnktxHashList_FindEntry(long pHead, long key, long ppEntry) Unsafe version of:HashList_FindEntrystatic intnktxHashList_FindValue(long pHead, long key, long pValueLen, long pValue) Unsafe version of:HashList_FindValuestatic intnktxHashList_Serialize(long pHead, long kvdLen, long kvd) Unsafe version of:HashList_Serializestatic intnktxHashListEntry_GetKey(long This, long pKeyLen, long ppKey) Unsafe version of:HashListEntry_GetKeystatic intnktxHashListEntry_GetValue(long This, long pValueLen, long ppValue) Unsafe version of:HashListEntry_GetValuestatic intnktxPrintInfoForMemory(long bytes, long size) static intnktxPrintInfoForNamedFile(long filename) static intnktxPrintKTX2InfoJSONForMemory(long bytes, long size, int base_indent, int indent_width, boolean minified) static intnktxPrintKTX2InfoJSONForNamedFile(long filename, int base_indent, int indent_width, boolean minified) static intnktxPrintKTX2InfoJSONForStream(long stream, int base_indent, int indent_width, boolean minified) static intnktxPrintKTX2InfoTextForMemory(long bytes, long size) static intnktxPrintKTX2InfoTextForNamedFile(long filename) static intnktxPrintKTX2InfoTextForStream(long stream) static longnktxSupercompressionSchemeString(int scheme) Unsafe version of:SupercompressionSchemeStringstatic intnktxTexture_CreateFromMemory(long bytes, long size, int createFlags, long newTex) static intnktxTexture_CreateFromNamedFile(long filename, int createFlags, long newTex) static intnktxTexture_CreateFromStream(long stream, int createFlags, long newTex) static longnktxTexture_GetData(long This) Unsafe version of:Texture_GetDatastatic longnktxTexture_GetDataSize(long This) Unsafe version of:Texture_GetDataSizestatic intnktxTexture_GetElementSize(long This) Unsafe version of:Texture_GetElementSizestatic intnktxTexture_GetRowPitch(long This, int level) Unsafe version of:Texture_GetRowPitchstatic intnktxTexture_GLUpload(long This, long pTexture, long pTarget, long pGlerror) Unsafe version of:Texture_GLUploadstatic intnktxTexture_IterateLevelFaces(long This, long iterCb, long userdata) Unsafe version of:Texture_IterateLevelFacesstatic intnktxTexture1_Create(long createInfo, int storageAllocation, long newTex) Unsafe version of:Texture1_Createstatic intnktxTexture1_CreateFromMemory(long bytes, long size, int createFlags, long newTex) static intnktxTexture1_CreateFromNamedFile(long filename, int createFlags, long newTex) static intnktxTexture1_CreateFromStream(long stream, int createFlags, long newTex) static booleannktxTexture1_NeedsTranscoding(long This) static intnktxTexture1_WriteKTX2ToMemory(long This, long bytes, long size) Unsafe version of:Texture1_WriteKTX2ToMemorystatic intnktxTexture1_WriteKTX2ToNamedFile(long This, long dstname) Unsafe version of:Texture1_WriteKTX2ToNamedFilestatic intnktxTexture1_WriteKTX2ToStream(long This, long dststr) Unsafe version of:Texture1_WriteKTX2ToStreamstatic intnktxTexture2_CompressAstc(long This, int quality) static intnktxTexture2_CompressAstcEx(long This, long params) static intnktxTexture2_CompressBasis(long This, int quality) static intnktxTexture2_CompressBasisEx(long This, long params) static intnktxTexture2_Create(long createInfo, int storageAllocation, long newTex) Unsafe version of:Texture2_Createstatic intnktxTexture2_CreateCopy(long orig, long newTex) Unsafe version of:Texture2_CreateCopystatic intnktxTexture2_CreateFromMemory(long bytes, long size, int createFlags, long newTex) static intnktxTexture2_CreateFromNamedFile(long filename, int createFlags, long newTex) static intnktxTexture2_CreateFromStream(long stream, int createFlags, long newTex) static intnktxTexture2_DeflateZLIB(long This, int level) static intnktxTexture2_DeflateZstd(long This, int level) static intnktxTexture2_GetColorModel_e(long This) static voidnktxTexture2_GetComponentInfo(long This, long numComponents, long componentByteLength) static intnktxTexture2_GetNumComponents(long This) static intnktxTexture2_GetOETF(long This) static intnktxTexture2_GetOETF_e(long This) static booleannktxTexture2_GetPremultipliedAlpha(long This) static booleannktxTexture2_NeedsTranscoding(long This) static intnktxTexture2_TranscodeBasis(long This, int fmt, int transcodeFlags) static longnktxTranscodeFormatString(int format) Unsafe version of:TranscodeFormatString
-
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(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_FILE_DATA_ERROR
public static final int KTX_FILE_DATA_ERROR(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_FILE_ISPIPE
public static final int KTX_FILE_ISPIPE(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_FILE_OPEN_FAILED
public static final int KTX_FILE_OPEN_FAILED(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_FILE_OVERFLOW
public static final int KTX_FILE_OVERFLOW(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_FILE_READ_ERROR
public static final int KTX_FILE_READ_ERROR(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_FILE_SEEK_ERROR
public static final int KTX_FILE_SEEK_ERROR(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_FILE_UNEXPECTED_EOF
public static final int KTX_FILE_UNEXPECTED_EOF(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_FILE_WRITE_ERROR
public static final int KTX_FILE_WRITE_ERROR(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_GL_ERROR
public static final int KTX_GL_ERROR(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_INVALID_OPERATION
public static final int KTX_INVALID_OPERATION(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_INVALID_VALUE
public static final int KTX_INVALID_VALUE(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_NOT_FOUND
public static final int KTX_NOT_FOUND(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_OUT_OF_MEMORY
public static final int KTX_OUT_OF_MEMORY(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_TRANSCODE_FAILED
public static final int KTX_TRANSCODE_FAILED(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_UNKNOWN_FILE_FORMAT
public static final int KTX_UNKNOWN_FILE_FORMAT(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_UNSUPPORTED_TEXTURE_TYPE
public static final int KTX_UNSUPPORTED_TEXTURE_TYPE(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_UNSUPPORTED_FEATURE
public static final int KTX_UNSUPPORTED_FEATURE(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_LIBRARY_NOT_LINKED
public static final int KTX_LIBRARY_NOT_LINKED(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_DECOMPRESS_LENGTH_ERROR
public static final int KTX_DECOMPRESS_LENGTH_ERROR(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- See Also:
-
KTX_DECOMPRESS_CHECKSUM_ERROR
public static final int KTX_DECOMPRESS_CHECKSUM_ERROR(ktx_error_code_e)Enum values:
SUCCESS- Operation was successful.FILE_DATA_ERROR- The data in the file is inconsistent with the spec.FILE_ISPIPE- The file is a pipe or named pipe.FILE_OPEN_FAILED- The target file could not be opened.FILE_OVERFLOW- The operation would exceed the max file size.FILE_READ_ERROR- An error occurred while reading from the file.FILE_SEEK_ERROR- An error occurred while seeking in the file.FILE_UNEXPECTED_EOF- File does not have enough data to satisfy request.FILE_WRITE_ERROR- An error occurred while writing to the file.GL_ERROR- GL operations resulted in an error.INVALID_OPERATION- The operation is not allowed in the current state.INVALID_VALUE- A parameter value was not valid.NOT_FOUND- Requested metadata key or required dynamically loaded GPU function was not found.OUT_OF_MEMORY- Not enough memory to complete the operation.TRANSCODE_FAILED- Transcoding of block compressed texture failed.UNKNOWN_FILE_FORMAT- The file not a KTX fileUNSUPPORTED_TEXTURE_TYPE- The KTX file specifies an unsupported texture type.UNSUPPORTED_FEATURE- Feature not included in in-use library or not yet implemented.LIBRARY_NOT_LINKED- Library dependency (OpenGL or Vulkan) not linked into application.DECOMPRESS_LENGTH_ERROR- Decompressed byte count does not match expected byte size.DECOMPRESS_CHECKSUM_ERROR- Checksum mismatch when decompressing.
- 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_NONEEnumerators identifying the supercompression scheme. (ktxSupercmpScheme)Enum values:
SS_NONE- No supercompression.SS_BASIS_LZ- Basis LZ supercompression.SS_ZSTD- ZStd supercompression.SS_ZLIB- ZLIB supercompression.SS_BEGIN_RANGESS_END_RANGESS_BEGIN_VENDOR_RANGESS_END_VENDOR_RANGESS_BEGIN_RESERVED
- See Also:
-
KTX_SS_BASIS_LZ
public static final int KTX_SS_BASIS_LZEnumerators identifying the supercompression scheme. (ktxSupercmpScheme)Enum values:
SS_NONE- No supercompression.SS_BASIS_LZ- Basis LZ supercompression.SS_ZSTD- ZStd supercompression.SS_ZLIB- ZLIB supercompression.SS_BEGIN_RANGESS_END_RANGESS_BEGIN_VENDOR_RANGESS_END_VENDOR_RANGESS_BEGIN_RESERVED
- See Also:
-
KTX_SS_ZSTD
public static final int KTX_SS_ZSTDEnumerators identifying the supercompression scheme. (ktxSupercmpScheme)Enum values:
SS_NONE- No supercompression.SS_BASIS_LZ- Basis LZ supercompression.SS_ZSTD- ZStd supercompression.SS_ZLIB- ZLIB supercompression.SS_BEGIN_RANGESS_END_RANGESS_BEGIN_VENDOR_RANGESS_END_VENDOR_RANGESS_BEGIN_RESERVED
- See Also:
-
KTX_SS_ZLIB
public static final int KTX_SS_ZLIBEnumerators identifying the supercompression scheme. (ktxSupercmpScheme)Enum values:
SS_NONE- No supercompression.SS_BASIS_LZ- Basis LZ supercompression.SS_ZSTD- ZStd supercompression.SS_ZLIB- ZLIB supercompression.SS_BEGIN_RANGESS_END_RANGESS_BEGIN_VENDOR_RANGESS_END_VENDOR_RANGESS_BEGIN_RESERVED
- See Also:
-
KTX_SS_BEGIN_RANGE
public static final int KTX_SS_BEGIN_RANGEEnumerators identifying the supercompression scheme. (ktxSupercmpScheme)Enum values:
SS_NONE- No supercompression.SS_BASIS_LZ- Basis LZ supercompression.SS_ZSTD- ZStd supercompression.SS_ZLIB- ZLIB supercompression.SS_BEGIN_RANGESS_END_RANGESS_BEGIN_VENDOR_RANGESS_END_VENDOR_RANGESS_BEGIN_RESERVED
- See Also:
-
KTX_SS_END_RANGE
public static final int KTX_SS_END_RANGEEnumerators identifying the supercompression scheme. (ktxSupercmpScheme)Enum values:
SS_NONE- No supercompression.SS_BASIS_LZ- Basis LZ supercompression.SS_ZSTD- ZStd supercompression.SS_ZLIB- ZLIB supercompression.SS_BEGIN_RANGESS_END_RANGESS_BEGIN_VENDOR_RANGESS_END_VENDOR_RANGESS_BEGIN_RESERVED
- See Also:
-
KTX_SS_BEGIN_VENDOR_RANGE
public static final int KTX_SS_BEGIN_VENDOR_RANGEEnumerators identifying the supercompression scheme. (ktxSupercmpScheme)Enum values:
SS_NONE- No supercompression.SS_BASIS_LZ- Basis LZ supercompression.SS_ZSTD- ZStd supercompression.SS_ZLIB- ZLIB supercompression.SS_BEGIN_RANGESS_END_RANGESS_BEGIN_VENDOR_RANGESS_END_VENDOR_RANGESS_BEGIN_RESERVED
- See Also:
-
KTX_SS_END_VENDOR_RANGE
public static final int KTX_SS_END_VENDOR_RANGEEnumerators identifying the supercompression scheme. (ktxSupercmpScheme)Enum values:
SS_NONE- No supercompression.SS_BASIS_LZ- Basis LZ supercompression.SS_ZSTD- ZStd supercompression.SS_ZLIB- ZLIB supercompression.SS_BEGIN_RANGESS_END_RANGESS_BEGIN_VENDOR_RANGESS_END_VENDOR_RANGESS_BEGIN_RESERVED
- See Also:
-
KTX_SS_BEGIN_RESERVED
public static final int KTX_SS_BEGIN_RESERVEDEnumerators identifying the supercompression scheme. (ktxSupercmpScheme)Enum values:
SS_NONE- No supercompression.SS_BASIS_LZ- Basis LZ supercompression.SS_ZSTD- ZStd supercompression.SS_ZLIB- ZLIB supercompression.SS_BEGIN_RANGESS_END_RANGESS_BEGIN_VENDOR_RANGESS_END_VENDOR_RANGESS_BEGIN_RESERVED
- See Also:
-
KTX_TEXTURE_CREATE_NO_STORAGE
public static final int KTX_TEXTURE_CREATE_NO_STORAGEEnum for requesting, or not, allocation of storage for images. (ktxTextureCreateStorageEnum)Enum values:
TEXTURE_CREATE_NO_STORAGE- Don't allocate any image storage.TEXTURE_CREATE_ALLOC_STORAGE- Allocate image storage.
- See Also:
-
KTX_TEXTURE_CREATE_ALLOC_STORAGE
public static final int KTX_TEXTURE_CREATE_ALLOC_STORAGEEnum for requesting, or not, allocation of storage for images. (ktxTextureCreateStorageEnum)Enum values:
TEXTURE_CREATE_NO_STORAGE- Don't allocate any image storage.TEXTURE_CREATE_ALLOC_STORAGE- Allocate image storage.
- See Also:
-
KTX_TEXTURE_CREATE_NO_FLAGS
public static final int KTX_TEXTURE_CREATE_NO_FLAGSFlags for requesting services during creation. (enum ktxTextureCreateFlagBits)Enum values:
TEXTURE_CREATE_NO_FLAGSTEXTURE_CREATE_LOAD_IMAGE_DATA_BIT- Load the images from the KTX source.TEXTURE_CREATE_RAW_KVDATA_BIT- Load the raw key-value data instead of creating aktxHashListfrom it.TEXTURE_CREATE_SKIP_KVDATA_BIT- Skip any key-value data. This overrides theRAW_KVDATA_BIT.TEXTURE_CREATE_CHECK_GLTF_BASISU_BIT- Load texture compatible with the rules of KHR_texture_basisu glTF extension.
- See Also:
-
KTX_TEXTURE_CREATE_LOAD_IMAGE_DATA_BIT
public static final int KTX_TEXTURE_CREATE_LOAD_IMAGE_DATA_BITFlags for requesting services during creation. (enum ktxTextureCreateFlagBits)Enum values:
TEXTURE_CREATE_NO_FLAGSTEXTURE_CREATE_LOAD_IMAGE_DATA_BIT- Load the images from the KTX source.TEXTURE_CREATE_RAW_KVDATA_BIT- Load the raw key-value data instead of creating aktxHashListfrom it.TEXTURE_CREATE_SKIP_KVDATA_BIT- Skip any key-value data. This overrides theRAW_KVDATA_BIT.TEXTURE_CREATE_CHECK_GLTF_BASISU_BIT- Load texture compatible with the rules of KHR_texture_basisu glTF extension.
- See Also:
-
KTX_TEXTURE_CREATE_RAW_KVDATA_BIT
public static final int KTX_TEXTURE_CREATE_RAW_KVDATA_BITFlags for requesting services during creation. (enum ktxTextureCreateFlagBits)Enum values:
TEXTURE_CREATE_NO_FLAGSTEXTURE_CREATE_LOAD_IMAGE_DATA_BIT- Load the images from the KTX source.TEXTURE_CREATE_RAW_KVDATA_BIT- Load the raw key-value data instead of creating aktxHashListfrom it.TEXTURE_CREATE_SKIP_KVDATA_BIT- Skip any key-value data. This overrides theRAW_KVDATA_BIT.TEXTURE_CREATE_CHECK_GLTF_BASISU_BIT- Load texture compatible with the rules of KHR_texture_basisu glTF extension.
- See Also:
-
KTX_TEXTURE_CREATE_SKIP_KVDATA_BIT
public static final int KTX_TEXTURE_CREATE_SKIP_KVDATA_BITFlags for requesting services during creation. (enum ktxTextureCreateFlagBits)Enum values:
TEXTURE_CREATE_NO_FLAGSTEXTURE_CREATE_LOAD_IMAGE_DATA_BIT- Load the images from the KTX source.TEXTURE_CREATE_RAW_KVDATA_BIT- Load the raw key-value data instead of creating aktxHashListfrom it.TEXTURE_CREATE_SKIP_KVDATA_BIT- Skip any key-value data. This overrides theRAW_KVDATA_BIT.TEXTURE_CREATE_CHECK_GLTF_BASISU_BIT- Load texture compatible with the rules of KHR_texture_basisu glTF extension.
- See Also:
-
KTX_TEXTURE_CREATE_CHECK_GLTF_BASISU_BIT
public static final int KTX_TEXTURE_CREATE_CHECK_GLTF_BASISU_BITFlags for requesting services during creation. (enum ktxTextureCreateFlagBits)Enum values:
TEXTURE_CREATE_NO_FLAGSTEXTURE_CREATE_LOAD_IMAGE_DATA_BIT- Load the images from the KTX source.TEXTURE_CREATE_RAW_KVDATA_BIT- Load the raw key-value data instead of creating aktxHashListfrom it.TEXTURE_CREATE_SKIP_KVDATA_BIT- Skip any key-value data. This overrides theRAW_KVDATA_BIT.TEXTURE_CREATE_CHECK_GLTF_BASISU_BIT- Load texture compatible with the rules of KHR_texture_basisu glTF extension.
- 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_FASTESTFlags specifiying UASTC encoding options. (ktx_pack_uastc_flag_bits_e)Enum values:
PACK_UASTC_LEVEL_FASTEST- Fastest compression. 43.45dB.PACK_UASTC_LEVEL_FASTER- Faster compression. 46.49dB.PACK_UASTC_LEVEL_DEFAULT- Default compression. 47.47dB.PACK_UASTC_LEVEL_SLOWER- Slower compression. 48.01dB.PACK_UASTC_LEVEL_VERYSLOW- Very slow compression. 48.24dB.PACK_UASTC_MAX_LEVEL- Maximum supported quality level.PACK_UASTC_LEVEL_MASK- Mask to extract the level from the other bits.PACK_UASTC_FAVOR_UASTC_ERROR- Optimize for lowest UASTC error.PACK_UASTC_FAVOR_BC7_ERROR- Optimize for lowest BC7 error.PACK_UASTC_ETC1_FASTER_HINTS- Optimize for faster transcoding to ETC1.PACK_UASTC_ETC1_FASTEST_HINTS- Optimize for fastest transcoding to ETC1.PACK_UASTC__ETC1_DISABLE_FLIP_AND_INDIVIDUAL- Not documented in BasisU code.
- See Also:
-
KTX_PACK_UASTC_LEVEL_FASTER
public static final int KTX_PACK_UASTC_LEVEL_FASTERFlags specifiying UASTC encoding options. (ktx_pack_uastc_flag_bits_e)Enum values:
PACK_UASTC_LEVEL_FASTEST- Fastest compression. 43.45dB.PACK_UASTC_LEVEL_FASTER- Faster compression. 46.49dB.PACK_UASTC_LEVEL_DEFAULT- Default compression. 47.47dB.PACK_UASTC_LEVEL_SLOWER- Slower compression. 48.01dB.PACK_UASTC_LEVEL_VERYSLOW- Very slow compression. 48.24dB.PACK_UASTC_MAX_LEVEL- Maximum supported quality level.PACK_UASTC_LEVEL_MASK- Mask to extract the level from the other bits.PACK_UASTC_FAVOR_UASTC_ERROR- Optimize for lowest UASTC error.PACK_UASTC_FAVOR_BC7_ERROR- Optimize for lowest BC7 error.PACK_UASTC_ETC1_FASTER_HINTS- Optimize for faster transcoding to ETC1.PACK_UASTC_ETC1_FASTEST_HINTS- Optimize for fastest transcoding to ETC1.PACK_UASTC__ETC1_DISABLE_FLIP_AND_INDIVIDUAL- Not documented in BasisU code.
- See Also:
-
KTX_PACK_UASTC_LEVEL_DEFAULT
public static final int KTX_PACK_UASTC_LEVEL_DEFAULTFlags specifiying UASTC encoding options. (ktx_pack_uastc_flag_bits_e)Enum values:
PACK_UASTC_LEVEL_FASTEST- Fastest compression. 43.45dB.PACK_UASTC_LEVEL_FASTER- Faster compression. 46.49dB.PACK_UASTC_LEVEL_DEFAULT- Default compression. 47.47dB.PACK_UASTC_LEVEL_SLOWER- Slower compression. 48.01dB.PACK_UASTC_LEVEL_VERYSLOW- Very slow compression. 48.24dB.PACK_UASTC_MAX_LEVEL- Maximum supported quality level.PACK_UASTC_LEVEL_MASK- Mask to extract the level from the other bits.PACK_UASTC_FAVOR_UASTC_ERROR- Optimize for lowest UASTC error.PACK_UASTC_FAVOR_BC7_ERROR- Optimize for lowest BC7 error.PACK_UASTC_ETC1_FASTER_HINTS- Optimize for faster transcoding to ETC1.PACK_UASTC_ETC1_FASTEST_HINTS- Optimize for fastest transcoding to ETC1.PACK_UASTC__ETC1_DISABLE_FLIP_AND_INDIVIDUAL- Not documented in BasisU code.
- See Also:
-
KTX_PACK_UASTC_LEVEL_SLOWER
public static final int KTX_PACK_UASTC_LEVEL_SLOWERFlags specifiying UASTC encoding options. (ktx_pack_uastc_flag_bits_e)Enum values:
PACK_UASTC_LEVEL_FASTEST- Fastest compression. 43.45dB.PACK_UASTC_LEVEL_FASTER- Faster compression. 46.49dB.PACK_UASTC_LEVEL_DEFAULT- Default compression. 47.47dB.PACK_UASTC_LEVEL_SLOWER- Slower compression. 48.01dB.PACK_UASTC_LEVEL_VERYSLOW- Very slow compression. 48.24dB.PACK_UASTC_MAX_LEVEL- Maximum supported quality level.PACK_UASTC_LEVEL_MASK- Mask to extract the level from the other bits.PACK_UASTC_FAVOR_UASTC_ERROR- Optimize for lowest UASTC error.PACK_UASTC_FAVOR_BC7_ERROR- Optimize for lowest BC7 error.PACK_UASTC_ETC1_FASTER_HINTS- Optimize for faster transcoding to ETC1.PACK_UASTC_ETC1_FASTEST_HINTS- Optimize for fastest transcoding to ETC1.PACK_UASTC__ETC1_DISABLE_FLIP_AND_INDIVIDUAL- Not documented in BasisU code.
- See Also:
-
KTX_PACK_UASTC_LEVEL_VERYSLOW
public static final int KTX_PACK_UASTC_LEVEL_VERYSLOWFlags specifiying UASTC encoding options. (ktx_pack_uastc_flag_bits_e)Enum values:
PACK_UASTC_LEVEL_FASTEST- Fastest compression. 43.45dB.PACK_UASTC_LEVEL_FASTER- Faster compression. 46.49dB.PACK_UASTC_LEVEL_DEFAULT- Default compression. 47.47dB.PACK_UASTC_LEVEL_SLOWER- Slower compression. 48.01dB.PACK_UASTC_LEVEL_VERYSLOW- Very slow compression. 48.24dB.PACK_UASTC_MAX_LEVEL- Maximum supported quality level.PACK_UASTC_LEVEL_MASK- Mask to extract the level from the other bits.PACK_UASTC_FAVOR_UASTC_ERROR- Optimize for lowest UASTC error.PACK_UASTC_FAVOR_BC7_ERROR- Optimize for lowest BC7 error.PACK_UASTC_ETC1_FASTER_HINTS- Optimize for faster transcoding to ETC1.PACK_UASTC_ETC1_FASTEST_HINTS- Optimize for fastest transcoding to ETC1.PACK_UASTC__ETC1_DISABLE_FLIP_AND_INDIVIDUAL- Not documented in BasisU code.
- See Also:
-
KTX_PACK_UASTC_MAX_LEVEL
public static final int KTX_PACK_UASTC_MAX_LEVELFlags specifiying UASTC encoding options. (ktx_pack_uastc_flag_bits_e)Enum values:
PACK_UASTC_LEVEL_FASTEST- Fastest compression. 43.45dB.PACK_UASTC_LEVEL_FASTER- Faster compression. 46.49dB.PACK_UASTC_LEVEL_DEFAULT- Default compression. 47.47dB.PACK_UASTC_LEVEL_SLOWER- Slower compression. 48.01dB.PACK_UASTC_LEVEL_VERYSLOW- Very slow compression. 48.24dB.PACK_UASTC_MAX_LEVEL- Maximum supported quality level.PACK_UASTC_LEVEL_MASK- Mask to extract the level from the other bits.PACK_UASTC_FAVOR_UASTC_ERROR- Optimize for lowest UASTC error.PACK_UASTC_FAVOR_BC7_ERROR- Optimize for lowest BC7 error.PACK_UASTC_ETC1_FASTER_HINTS- Optimize for faster transcoding to ETC1.PACK_UASTC_ETC1_FASTEST_HINTS- Optimize for fastest transcoding to ETC1.PACK_UASTC__ETC1_DISABLE_FLIP_AND_INDIVIDUAL- Not documented in BasisU code.
- See Also:
-
KTX_PACK_UASTC_LEVEL_MASK
public static final int KTX_PACK_UASTC_LEVEL_MASKFlags specifiying UASTC encoding options. (ktx_pack_uastc_flag_bits_e)Enum values:
PACK_UASTC_LEVEL_FASTEST- Fastest compression. 43.45dB.PACK_UASTC_LEVEL_FASTER- Faster compression. 46.49dB.PACK_UASTC_LEVEL_DEFAULT- Default compression. 47.47dB.PACK_UASTC_LEVEL_SLOWER- Slower compression. 48.01dB.PACK_UASTC_LEVEL_VERYSLOW- Very slow compression. 48.24dB.PACK_UASTC_MAX_LEVEL- Maximum supported quality level.PACK_UASTC_LEVEL_MASK- Mask to extract the level from the other bits.PACK_UASTC_FAVOR_UASTC_ERROR- Optimize for lowest UASTC error.PACK_UASTC_FAVOR_BC7_ERROR- Optimize for lowest BC7 error.PACK_UASTC_ETC1_FASTER_HINTS- Optimize for faster transcoding to ETC1.PACK_UASTC_ETC1_FASTEST_HINTS- Optimize for fastest transcoding to ETC1.PACK_UASTC__ETC1_DISABLE_FLIP_AND_INDIVIDUAL- Not documented in BasisU code.
- See Also:
-
KTX_PACK_UASTC_FAVOR_UASTC_ERROR
public static final int KTX_PACK_UASTC_FAVOR_UASTC_ERRORFlags specifiying UASTC encoding options. (ktx_pack_uastc_flag_bits_e)Enum values:
PACK_UASTC_LEVEL_FASTEST- Fastest compression. 43.45dB.PACK_UASTC_LEVEL_FASTER- Faster compression. 46.49dB.PACK_UASTC_LEVEL_DEFAULT- Default compression. 47.47dB.PACK_UASTC_LEVEL_SLOWER- Slower compression. 48.01dB.PACK_UASTC_LEVEL_VERYSLOW- Very slow compression. 48.24dB.PACK_UASTC_MAX_LEVEL- Maximum supported quality level.PACK_UASTC_LEVEL_MASK- Mask to extract the level from the other bits.PACK_UASTC_FAVOR_UASTC_ERROR- Optimize for lowest UASTC error.PACK_UASTC_FAVOR_BC7_ERROR- Optimize for lowest BC7 error.PACK_UASTC_ETC1_FASTER_HINTS- Optimize for faster transcoding to ETC1.PACK_UASTC_ETC1_FASTEST_HINTS- Optimize for fastest transcoding to ETC1.PACK_UASTC__ETC1_DISABLE_FLIP_AND_INDIVIDUAL- Not documented in BasisU code.
- See Also:
-
KTX_PACK_UASTC_FAVOR_BC7_ERROR
public static final int KTX_PACK_UASTC_FAVOR_BC7_ERRORFlags specifiying UASTC encoding options. (ktx_pack_uastc_flag_bits_e)Enum values:
PACK_UASTC_LEVEL_FASTEST- Fastest compression. 43.45dB.PACK_UASTC_LEVEL_FASTER- Faster compression. 46.49dB.PACK_UASTC_LEVEL_DEFAULT- Default compression. 47.47dB.PACK_UASTC_LEVEL_SLOWER- Slower compression. 48.01dB.PACK_UASTC_LEVEL_VERYSLOW- Very slow compression. 48.24dB.PACK_UASTC_MAX_LEVEL- Maximum supported quality level.PACK_UASTC_LEVEL_MASK- Mask to extract the level from the other bits.PACK_UASTC_FAVOR_UASTC_ERROR- Optimize for lowest UASTC error.PACK_UASTC_FAVOR_BC7_ERROR- Optimize for lowest BC7 error.PACK_UASTC_ETC1_FASTER_HINTS- Optimize for faster transcoding to ETC1.PACK_UASTC_ETC1_FASTEST_HINTS- Optimize for fastest transcoding to ETC1.PACK_UASTC__ETC1_DISABLE_FLIP_AND_INDIVIDUAL- Not documented in BasisU code.
- See Also:
-
KTX_PACK_UASTC_ETC1_FASTER_HINTS
public static final int KTX_PACK_UASTC_ETC1_FASTER_HINTSFlags specifiying UASTC encoding options. (ktx_pack_uastc_flag_bits_e)Enum values:
PACK_UASTC_LEVEL_FASTEST- Fastest compression. 43.45dB.PACK_UASTC_LEVEL_FASTER- Faster compression. 46.49dB.PACK_UASTC_LEVEL_DEFAULT- Default compression. 47.47dB.PACK_UASTC_LEVEL_SLOWER- Slower compression. 48.01dB.PACK_UASTC_LEVEL_VERYSLOW- Very slow compression. 48.24dB.PACK_UASTC_MAX_LEVEL- Maximum supported quality level.PACK_UASTC_LEVEL_MASK- Mask to extract the level from the other bits.PACK_UASTC_FAVOR_UASTC_ERROR- Optimize for lowest UASTC error.PACK_UASTC_FAVOR_BC7_ERROR- Optimize for lowest BC7 error.PACK_UASTC_ETC1_FASTER_HINTS- Optimize for faster transcoding to ETC1.PACK_UASTC_ETC1_FASTEST_HINTS- Optimize for fastest transcoding to ETC1.PACK_UASTC__ETC1_DISABLE_FLIP_AND_INDIVIDUAL- Not documented in BasisU code.
- See Also:
-
KTX_PACK_UASTC_ETC1_FASTEST_HINTS
public static final int KTX_PACK_UASTC_ETC1_FASTEST_HINTSFlags specifiying UASTC encoding options. (ktx_pack_uastc_flag_bits_e)Enum values:
PACK_UASTC_LEVEL_FASTEST- Fastest compression. 43.45dB.PACK_UASTC_LEVEL_FASTER- Faster compression. 46.49dB.PACK_UASTC_LEVEL_DEFAULT- Default compression. 47.47dB.PACK_UASTC_LEVEL_SLOWER- Slower compression. 48.01dB.PACK_UASTC_LEVEL_VERYSLOW- Very slow compression. 48.24dB.PACK_UASTC_MAX_LEVEL- Maximum supported quality level.PACK_UASTC_LEVEL_MASK- Mask to extract the level from the other bits.PACK_UASTC_FAVOR_UASTC_ERROR- Optimize for lowest UASTC error.PACK_UASTC_FAVOR_BC7_ERROR- Optimize for lowest BC7 error.PACK_UASTC_ETC1_FASTER_HINTS- Optimize for faster transcoding to ETC1.PACK_UASTC_ETC1_FASTEST_HINTS- Optimize for fastest transcoding to ETC1.PACK_UASTC__ETC1_DISABLE_FLIP_AND_INDIVIDUAL- Not documented in BasisU code.
- See Also:
-
KTX_PACK_UASTC__ETC1_DISABLE_FLIP_AND_INDIVIDUAL
public static final int KTX_PACK_UASTC__ETC1_DISABLE_FLIP_AND_INDIVIDUALFlags specifiying UASTC encoding options. (ktx_pack_uastc_flag_bits_e)Enum values:
PACK_UASTC_LEVEL_FASTEST- Fastest compression. 43.45dB.PACK_UASTC_LEVEL_FASTER- Faster compression. 46.49dB.PACK_UASTC_LEVEL_DEFAULT- Default compression. 47.47dB.PACK_UASTC_LEVEL_SLOWER- Slower compression. 48.01dB.PACK_UASTC_LEVEL_VERYSLOW- Very slow compression. 48.24dB.PACK_UASTC_MAX_LEVEL- Maximum supported quality level.PACK_UASTC_LEVEL_MASK- Mask to extract the level from the other bits.PACK_UASTC_FAVOR_UASTC_ERROR- Optimize for lowest UASTC error.PACK_UASTC_FAVOR_BC7_ERROR- Optimize for lowest BC7 error.PACK_UASTC_ETC1_FASTER_HINTS- Optimize for faster transcoding to ETC1.PACK_UASTC_ETC1_FASTEST_HINTS- Optimize for fastest transcoding to ETC1.PACK_UASTC__ETC1_DISABLE_FLIP_AND_INDIVIDUAL- Not documented in BasisU code.
- See Also:
-
KTX_PACK_ASTC_QUALITY_LEVEL_FASTEST
public static final int KTX_PACK_ASTC_QUALITY_LEVEL_FASTESTOptions specifiying ASTC encoding quality levels. (ktx_pack_astc_quality_levels_e)Enum values:
PACK_ASTC_QUALITY_LEVEL_FASTEST- Fastest compression.PACK_ASTC_QUALITY_LEVEL_FAST- Fast compression.PACK_ASTC_QUALITY_LEVEL_MEDIUM- Medium compression.PACK_ASTC_QUALITY_LEVEL_THOROUGH- Slower compression.PACK_ASTC_QUALITY_LEVEL_EXHAUSTIVE- Very slow compression.PACK_ASTC_QUALITY_LEVEL_MAX- Maximum supported quality level.
- See Also:
-
KTX_PACK_ASTC_QUALITY_LEVEL_FAST
public static final int KTX_PACK_ASTC_QUALITY_LEVEL_FASTOptions specifiying ASTC encoding quality levels. (ktx_pack_astc_quality_levels_e)Enum values:
PACK_ASTC_QUALITY_LEVEL_FASTEST- Fastest compression.PACK_ASTC_QUALITY_LEVEL_FAST- Fast compression.PACK_ASTC_QUALITY_LEVEL_MEDIUM- Medium compression.PACK_ASTC_QUALITY_LEVEL_THOROUGH- Slower compression.PACK_ASTC_QUALITY_LEVEL_EXHAUSTIVE- Very slow compression.PACK_ASTC_QUALITY_LEVEL_MAX- Maximum supported quality level.
- See Also:
-
KTX_PACK_ASTC_QUALITY_LEVEL_MEDIUM
public static final int KTX_PACK_ASTC_QUALITY_LEVEL_MEDIUMOptions specifiying ASTC encoding quality levels. (ktx_pack_astc_quality_levels_e)Enum values:
PACK_ASTC_QUALITY_LEVEL_FASTEST- Fastest compression.PACK_ASTC_QUALITY_LEVEL_FAST- Fast compression.PACK_ASTC_QUALITY_LEVEL_MEDIUM- Medium compression.PACK_ASTC_QUALITY_LEVEL_THOROUGH- Slower compression.PACK_ASTC_QUALITY_LEVEL_EXHAUSTIVE- Very slow compression.PACK_ASTC_QUALITY_LEVEL_MAX- Maximum supported quality level.
- See Also:
-
KTX_PACK_ASTC_QUALITY_LEVEL_THOROUGH
public static final int KTX_PACK_ASTC_QUALITY_LEVEL_THOROUGHOptions specifiying ASTC encoding quality levels. (ktx_pack_astc_quality_levels_e)Enum values:
PACK_ASTC_QUALITY_LEVEL_FASTEST- Fastest compression.PACK_ASTC_QUALITY_LEVEL_FAST- Fast compression.PACK_ASTC_QUALITY_LEVEL_MEDIUM- Medium compression.PACK_ASTC_QUALITY_LEVEL_THOROUGH- Slower compression.PACK_ASTC_QUALITY_LEVEL_EXHAUSTIVE- Very slow compression.PACK_ASTC_QUALITY_LEVEL_MAX- Maximum supported quality level.
- See Also:
-
KTX_PACK_ASTC_QUALITY_LEVEL_EXHAUSTIVE
public static final int KTX_PACK_ASTC_QUALITY_LEVEL_EXHAUSTIVEOptions specifiying ASTC encoding quality levels. (ktx_pack_astc_quality_levels_e)Enum values:
PACK_ASTC_QUALITY_LEVEL_FASTEST- Fastest compression.PACK_ASTC_QUALITY_LEVEL_FAST- Fast compression.PACK_ASTC_QUALITY_LEVEL_MEDIUM- Medium compression.PACK_ASTC_QUALITY_LEVEL_THOROUGH- Slower compression.PACK_ASTC_QUALITY_LEVEL_EXHAUSTIVE- Very slow compression.PACK_ASTC_QUALITY_LEVEL_MAX- Maximum supported quality level.
- See Also:
-
KTX_PACK_ASTC_QUALITY_LEVEL_MAX
public static final int KTX_PACK_ASTC_QUALITY_LEVEL_MAXOptions specifiying ASTC encoding quality levels. (ktx_pack_astc_quality_levels_e)Enum values:
PACK_ASTC_QUALITY_LEVEL_FASTEST- Fastest compression.PACK_ASTC_QUALITY_LEVEL_FAST- Fast compression.PACK_ASTC_QUALITY_LEVEL_MEDIUM- Medium compression.PACK_ASTC_QUALITY_LEVEL_THOROUGH- Slower compression.PACK_ASTC_QUALITY_LEVEL_EXHAUSTIVE- Very slow compression.PACK_ASTC_QUALITY_LEVEL_MAX- Maximum supported quality level.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_4x4
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_4x4Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_5x4
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_5x4Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_5x5
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_5x5Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_6x5
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_6x5Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_6x6
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_6x6Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_8x5
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_8x5Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_8x6
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_8x6Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_10x5
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_10x5Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_10x6
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_10x6Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_8x8
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_8x8Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_10x8
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_10x8Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_10x10
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_10x10Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_12x10
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_12x10Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_12x12
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_12x12Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_3x3x3
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_3x3x3Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_4x3x3
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_4x3x3Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_4x4x3
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_4x4x3Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_4x4x4
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_4x4x4Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_5x4x4
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_5x4x4Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_5x5x4
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_5x5x4Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_5x5x5
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_5x5x5Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_6x5x5
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_6x5x5Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_6x6x5
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_6x6x5Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_6x6x6
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_6x6x6Options specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_BLOCK_DIMENSION_MAX
public static final int KTX_PACK_ASTC_BLOCK_DIMENSION_MAXOptions specifiying ASTC encoding block dimensions. (ktx_pack_astc_block_dimension_e)Enum values:
PACK_ASTC_BLOCK_DIMENSION_4x4- 8.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4- 6.40 bppPACK_ASTC_BLOCK_DIMENSION_5x5- 5.12 bppPACK_ASTC_BLOCK_DIMENSION_6x5- 4.27 bppPACK_ASTC_BLOCK_DIMENSION_6x6- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_8x5- 3.20 bppPACK_ASTC_BLOCK_DIMENSION_8x6- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_10x5- 2.56 bppPACK_ASTC_BLOCK_DIMENSION_10x6- 2.13 bppPACK_ASTC_BLOCK_DIMENSION_8x8- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_10x8- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_10x10- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_12x10- 1.07 bppPACK_ASTC_BLOCK_DIMENSION_12x12- 0.89 bppPACK_ASTC_BLOCK_DIMENSION_3x3x3- 4.74 bppPACK_ASTC_BLOCK_DIMENSION_4x3x3- 3.56 bppPACK_ASTC_BLOCK_DIMENSION_4x4x3- 2.67 bppPACK_ASTC_BLOCK_DIMENSION_4x4x4- 2.00 bppPACK_ASTC_BLOCK_DIMENSION_5x4x4- 1.60 bppPACK_ASTC_BLOCK_DIMENSION_5x5x4- 1.28 bppPACK_ASTC_BLOCK_DIMENSION_5x5x5- 1.02 bppPACK_ASTC_BLOCK_DIMENSION_6x5x5- 0.85 bppPACK_ASTC_BLOCK_DIMENSION_6x6x5- 0.71 bppPACK_ASTC_BLOCK_DIMENSION_6x6x6- 0.59 bppPACK_ASTC_BLOCK_DIMENSION_MAX- Maximum supported blocks.
- See Also:
-
KTX_PACK_ASTC_ENCODER_MODE_DEFAULT
public static final int KTX_PACK_ASTC_ENCODER_MODE_DEFAULTOptions specifying ASTC encoder profile mode. (ktx_pack_astc_encoder_mode_e)This and function is used later to derive the profile.
Enum values:
- See Also:
-
KTX_PACK_ASTC_ENCODER_MODE_LDR
public static final int KTX_PACK_ASTC_ENCODER_MODE_LDROptions specifying ASTC encoder profile mode. (ktx_pack_astc_encoder_mode_e)This and function is used later to derive the profile.
Enum values:
- See Also:
-
KTX_PACK_ASTC_ENCODER_MODE_HDR
public static final int KTX_PACK_ASTC_ENCODER_MODE_HDROptions specifying ASTC encoder profile mode. (ktx_pack_astc_encoder_mode_e)This and function is used later to derive the profile.
Enum values:
- See Also:
-
KTX_PACK_ASTC_ENCODER_MODE_MAX
public static final int KTX_PACK_ASTC_ENCODER_MODE_MAXOptions specifying ASTC encoder profile mode. (ktx_pack_astc_encoder_mode_e)This and function is used later to derive the profile.
Enum values:
- See Also:
-
KTX_TTF_ETC1_RGB
public static final int KTX_TTF_ETC1_RGBEnumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_ETC2_RGBA
public static final int KTX_TTF_ETC2_RGBAEnumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_BC1_RGB
public static final int KTX_TTF_BC1_RGBEnumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_BC3_RGBA
public static final int KTX_TTF_BC3_RGBAEnumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_BC4_R
public static final int KTX_TTF_BC4_REnumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_BC5_RG
public static final int KTX_TTF_BC5_RGEnumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_BC7_RGBA
public static final int KTX_TTF_BC7_RGBAEnumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_PVRTC1_4_RGB
public static final int KTX_TTF_PVRTC1_4_RGBEnumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_PVRTC1_4_RGBA
public static final int KTX_TTF_PVRTC1_4_RGBAEnumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_ASTC_4x4_RGBA
public static final int KTX_TTF_ASTC_4x4_RGBAEnumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_PVRTC2_4_RGB
public static final int KTX_TTF_PVRTC2_4_RGBEnumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_PVRTC2_4_RGBA
public static final int KTX_TTF_PVRTC2_4_RGBAEnumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_ETC2_EAC_R11
public static final int KTX_TTF_ETC2_EAC_R11Enumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_ETC2_EAC_RG11
public static final int KTX_TTF_ETC2_EAC_RG11Enumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_RGBA32
public static final int KTX_TTF_RGBA32Enumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_RGB565
public static final int KTX_TTF_RGB565Enumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_BGR565
public static final int KTX_TTF_BGR565Enumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_RGBA4444
public static final int KTX_TTF_RGBA4444Enumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_ETC
public static final int KTX_TTF_ETCEnumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_BC1_OR_3
public static final int KTX_TTF_BC1_OR_3Enumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TTF_NOSELECTION
public static final int KTX_TTF_NOSELECTIONEnumerators for specifying the transcode target format. (ktx_transcode_fmt_e)For BasisU/ETC1S format,
Opaqueandalphahere refer to 2 separate RGB images, a.k.a slices within the BasisU compressed data. For UASTC format they refer to the RGB and the alpha components of the UASTC data. If the original image had only 2 components, R will be in the opaque portion and G in the alpha portion. The R value will be replicated in the RGB components. In the case of BasisU the G value will be replicated in all 3 components of the alpha slice. If the original image had only 1 component it's value is replicated in all 3 components of the opaque portion and there is no alpha.Note
You should not transcode sRGB encoded data to
KTX_TTF_BC4_R,KTX_TTF_BC5_RG,KTX_TTF_ETC2_EAC_R[G]11,KTX_TTF_RGB565,KTX_TTF_BGR565orKTX_TTF_RGBA4444formats as neither OpenGL nor Vulkan support sRGB variants of these. Doing sRGB decoding in the shader will not produce correct results if any texture filtering is being used.Enum values:
TTF_ETC1_RGB- ETC1-2TTF_ETC2_RGBATTF_BC1_RGB- BC1-5, BC7 (desktop, some mobile devices)TTF_BC3_RGBATTF_BC4_RTTF_BC5_RGTTF_BC7_RGBATTF_PVRTC1_4_RGB- PVRTC1 4bpp (mobile, PowerVR devices)TTF_PVRTC1_4_RGBATTF_ASTC_4x4_RGBA- ASTC (mobile, Intel devices, hopefully all desktop GPU's one day)TTF_PVRTC2_4_RGB- ATC and FXT1 formats are not supported by KTX2 as there are no equivalent VkFormats.TTF_PVRTC2_4_RGBATTF_ETC2_EAC_R11TTF_ETC2_EAC_RG11TTF_RGBA32- Uncompressed (raw pixel) formatsTTF_RGB565TTF_BGR565TTF_RGBA4444TTF_ETC- Values for automatic selection of RGB or RGBA depending if alpha present.TTF_BC1_OR_3TTF_NOSELECTION
- See Also:
-
KTX_TF_PVRTC_DECODE_TO_NEXT_POW2
public static final int KTX_TF_PVRTC_DECODE_TO_NEXT_POW2Flags guiding transcoding of Basis Universal compressed textures. (ktx_transcode_flag_bits_e)Enum values:
TF_PVRTC_DECODE_TO_NEXT_POW2- PVRTC1: decode non-pow2 ETC1S texture level to the next larger power of 2 (not implemented yet, but we're going to support it).Ignored if the slice's dimensions are already a power of 2.
TF_TRANSCODE_ALPHA_DATA_TO_OPAQUE_FORMATS- When decoding to an opaque texture format, if the Basis data has alpha, decode the alpha slice instead of the color slice to the output texture format.Has no effect if there is no alpha data.
TF_HIGH_QUALITY- Request higher quality transcode of UASTC to BC1, BC3, ETC2_EAC_R11 and ETC2_EAC_RG11.The flag is unused by other UASTC transcoders.
- See Also:
-
KTX_TF_TRANSCODE_ALPHA_DATA_TO_OPAQUE_FORMATS
public static final int KTX_TF_TRANSCODE_ALPHA_DATA_TO_OPAQUE_FORMATSFlags guiding transcoding of Basis Universal compressed textures. (ktx_transcode_flag_bits_e)Enum values:
TF_PVRTC_DECODE_TO_NEXT_POW2- PVRTC1: decode non-pow2 ETC1S texture level to the next larger power of 2 (not implemented yet, but we're going to support it).Ignored if the slice's dimensions are already a power of 2.
TF_TRANSCODE_ALPHA_DATA_TO_OPAQUE_FORMATS- When decoding to an opaque texture format, if the Basis data has alpha, decode the alpha slice instead of the color slice to the output texture format.Has no effect if there is no alpha data.
TF_HIGH_QUALITY- Request higher quality transcode of UASTC to BC1, BC3, ETC2_EAC_R11 and ETC2_EAC_RG11.The flag is unused by other UASTC transcoders.
- See Also:
-
KTX_TF_HIGH_QUALITY
public static final int KTX_TF_HIGH_QUALITYFlags guiding transcoding of Basis Universal compressed textures. (ktx_transcode_flag_bits_e)Enum values:
TF_PVRTC_DECODE_TO_NEXT_POW2- PVRTC1: decode non-pow2 ETC1S texture level to the next larger power of 2 (not implemented yet, but we're going to support it).Ignored if the slice's dimensions are already a power of 2.
TF_TRANSCODE_ALPHA_DATA_TO_OPAQUE_FORMATS- When decoding to an opaque texture format, if the Basis data has alpha, decode the alpha slice instead of the color slice to the output texture format.Has no effect if there is no alpha data.
TF_HIGH_QUALITY- Request higher quality transcode of UASTC to BC1, BC3, ETC2_EAC_R11 and ETC2_EAC_RG11.The flag is unused by other UASTC transcoders.
- 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
public static org.lwjgl.system.SharedLibrary getLibrary()Returns the ktxSharedLibrary. -
nktxTexture_CreateFromNamedFile
public static int nktxTexture_CreateFromNamedFile(long filename, int createFlags, long newTex) -
ktxTexture_CreateFromNamedFile
public static int ktxTexture_CreateFromNamedFile(ByteBuffer filename, int createFlags, org.lwjgl.PointerBuffer newTex) -
ktxTexture_CreateFromNamedFile
public static int ktxTexture_CreateFromNamedFile(CharSequence filename, int createFlags, org.lwjgl.PointerBuffer newTex) -
nktxTexture_CreateFromMemory
public static int nktxTexture_CreateFromMemory(long bytes, long size, int createFlags, long newTex) -
ktxTexture_CreateFromMemory
public static int ktxTexture_CreateFromMemory(ByteBuffer bytes, int createFlags, org.lwjgl.PointerBuffer newTex) -
nktxTexture_CreateFromStream
public static int nktxTexture_CreateFromStream(long stream, int createFlags, long newTex) -
ktxTexture_CreateFromStream
public static int ktxTexture_CreateFromStream(ktxStream stream, int createFlags, org.lwjgl.PointerBuffer newTex) -
nktxTexture_GetData
public static long nktxTexture_GetData(long This) Unsafe version of:Texture_GetData -
ktxTexture_GetData
Returns a pointer to the image data of aktxTextureobject. -
ktxTexture_GetData
Returns a pointer to the image data of aktxTextureobject. -
nktxTexture_GetRowPitch
public static int nktxTexture_GetRowPitch(long This, int level) Unsafe version of:Texture_GetRowPitch -
ktxTexture_GetRowPitch
Returns the pitch of a row of an image at the specified level. Similar to therowPitchin aVkSubResourceLayout. -
nktxTexture_GetElementSize
public static int nktxTexture_GetElementSize(long This) Unsafe version of:Texture_GetElementSize -
ktxTexture_GetElementSize
Return the element size of the texture's images. -
nktxTexture_GetDataSize
public static long nktxTexture_GetDataSize(long This) Unsafe version of:Texture_GetDataSize -
ktxTexture_GetDataSize
Returns the size of all the image data of aktxTextureobject in bytes. -
nktxTexture_GLUpload
public static int nktxTexture_GLUpload(long This, long pTexture, long pTarget, long pGlerror) Unsafe version of:Texture_GLUpload -
ktxTexture_GLUpload
public static int ktxTexture_GLUpload(ktxTexture This, IntBuffer pTexture, IntBuffer pTarget, IntBuffer pGlerror) Uploads a texture to OpenGL. -
nktxTexture_IterateLevelFaces
public static int nktxTexture_IterateLevelFaces(long This, long iterCb, long userdata) Unsafe version of:Texture_IterateLevelFaces -
ktxTexture_IterateLevelFaces
public static int ktxTexture_IterateLevelFaces(ktxTexture This, PFNKTXITERCBI iterCb, long userdata) Iterate over the levels or faces in aktxTextureobject. -
nktxTexture1_Create
public static int nktxTexture1_Create(long createInfo, int storageAllocation, long newTex) Unsafe version of:Texture1_Create -
ktxTexture1_Create
public static int ktxTexture1_Create(ktxTextureCreateInfo createInfo, int storageAllocation, org.lwjgl.PointerBuffer newTex) Create a newktxTexture1. -
nktxTexture1_CreateFromNamedFile
public static int nktxTexture1_CreateFromNamedFile(long filename, int createFlags, long newTex) -
ktxTexture1_CreateFromNamedFile
public static int ktxTexture1_CreateFromNamedFile(ByteBuffer filename, int createFlags, org.lwjgl.PointerBuffer newTex) -
ktxTexture1_CreateFromNamedFile
public static int ktxTexture1_CreateFromNamedFile(CharSequence filename, int createFlags, org.lwjgl.PointerBuffer newTex) -
nktxTexture1_CreateFromMemory
public static int nktxTexture1_CreateFromMemory(long bytes, long size, int createFlags, long newTex) -
ktxTexture1_CreateFromMemory
public static int ktxTexture1_CreateFromMemory(ByteBuffer bytes, int createFlags, org.lwjgl.PointerBuffer newTex) -
nktxTexture1_CreateFromStream
public static int nktxTexture1_CreateFromStream(long stream, int createFlags, long newTex) -
ktxTexture1_CreateFromStream
public static int ktxTexture1_CreateFromStream(ktxStream stream, int createFlags, org.lwjgl.PointerBuffer newTex) -
nktxTexture1_NeedsTranscoding
public static boolean nktxTexture1_NeedsTranscoding(long This) -
ktxTexture1_NeedsTranscoding
-
nktxTexture1_WriteKTX2ToNamedFile
public static int nktxTexture1_WriteKTX2ToNamedFile(long This, long dstname) Unsafe version of:Texture1_WriteKTX2ToNamedFile -
ktxTexture1_WriteKTX2ToNamedFile
Write aktxTextureobject to a named file in KTX format. -
ktxTexture1_WriteKTX2ToNamedFile
Write aktxTextureobject to a named file in KTX format. -
nktxTexture1_WriteKTX2ToMemory
public static int nktxTexture1_WriteKTX2ToMemory(long This, long bytes, long size) Unsafe version of:Texture1_WriteKTX2ToMemory -
ktxTexture1_WriteKTX2ToMemory
public static int ktxTexture1_WriteKTX2ToMemory(ktxTexture1 This, org.lwjgl.PointerBuffer bytes, org.lwjgl.PointerBuffer size) Write aktxTextureobject to a block of memory in KTX format. -
nktxTexture1_WriteKTX2ToStream
public static int nktxTexture1_WriteKTX2ToStream(long This, long dststr) Unsafe version of:Texture1_WriteKTX2ToStream -
ktxTexture1_WriteKTX2ToStream
Write aktxTexture objectto aktxStreamin KTX format. -
nktxTexture2_Create
public static int nktxTexture2_Create(long createInfo, int storageAllocation, long newTex) Unsafe version of:Texture2_Create -
ktxTexture2_Create
public static int ktxTexture2_Create(ktxTextureCreateInfo createInfo, int storageAllocation, org.lwjgl.PointerBuffer newTex) Create a newktxTexture2. -
nktxTexture2_CreateCopy
public static int nktxTexture2_CreateCopy(long orig, long newTex) Unsafe version of:Texture2_CreateCopy -
ktxTexture2_CreateCopy
Create a newktxTexture2as a copy of an existing texture. -
nktxTexture2_CreateFromNamedFile
public static int nktxTexture2_CreateFromNamedFile(long filename, int createFlags, long newTex) -
ktxTexture2_CreateFromNamedFile
public static int ktxTexture2_CreateFromNamedFile(ByteBuffer filename, int createFlags, org.lwjgl.PointerBuffer newTex) -
ktxTexture2_CreateFromNamedFile
public static int ktxTexture2_CreateFromNamedFile(CharSequence filename, int createFlags, org.lwjgl.PointerBuffer newTex) -
nktxTexture2_CreateFromMemory
public static int nktxTexture2_CreateFromMemory(long bytes, long size, int createFlags, long newTex) -
ktxTexture2_CreateFromMemory
public static int ktxTexture2_CreateFromMemory(ByteBuffer bytes, int createFlags, org.lwjgl.PointerBuffer newTex) -
nktxTexture2_CreateFromStream
public static int nktxTexture2_CreateFromStream(long stream, int createFlags, long newTex) -
ktxTexture2_CreateFromStream
public static int ktxTexture2_CreateFromStream(ktxStream stream, int createFlags, org.lwjgl.PointerBuffer newTex) -
nktxTexture2_CompressBasis
public static int nktxTexture2_CompressBasis(long This, int quality) -
ktxTexture2_CompressBasis
-
nktxTexture2_DeflateZstd
public static int nktxTexture2_DeflateZstd(long This, int level) -
ktxTexture2_DeflateZstd
-
nktxTexture2_DeflateZLIB
public static int nktxTexture2_DeflateZLIB(long This, int level) -
ktxTexture2_DeflateZLIB
-
nktxTexture2_GetComponentInfo
public static void nktxTexture2_GetComponentInfo(long This, long numComponents, long componentByteLength) -
ktxTexture2_GetComponentInfo
public static void ktxTexture2_GetComponentInfo(ktxTexture2 This, IntBuffer numComponents, IntBuffer componentByteLength) -
nktxTexture2_GetNumComponents
public static int nktxTexture2_GetNumComponents(long This) -
ktxTexture2_GetNumComponents
-
nktxTexture2_GetOETF_e
public static int nktxTexture2_GetOETF_e(long This) -
ktxTexture2_GetOETF_e
-
nktxTexture2_GetOETF
public static int nktxTexture2_GetOETF(long This) -
ktxTexture2_GetOETF
-
nktxTexture2_GetColorModel_e
public static int nktxTexture2_GetColorModel_e(long This) -
ktxTexture2_GetColorModel_e
-
nktxTexture2_GetPremultipliedAlpha
public static boolean nktxTexture2_GetPremultipliedAlpha(long This) -
ktxTexture2_GetPremultipliedAlpha
-
nktxTexture2_NeedsTranscoding
public static boolean nktxTexture2_NeedsTranscoding(long This) -
ktxTexture2_NeedsTranscoding
-
nktxTexture2_CompressAstcEx
public static int nktxTexture2_CompressAstcEx(long This, long params) -
ktxTexture2_CompressAstcEx
-
nktxTexture2_CompressAstc
public static int nktxTexture2_CompressAstc(long This, int quality) -
ktxTexture2_CompressAstc
-
nktxTexture2_CompressBasisEx
public static int nktxTexture2_CompressBasisEx(long This, long params) -
ktxTexture2_CompressBasisEx
-
nktxTexture2_TranscodeBasis
public static int nktxTexture2_TranscodeBasis(long This, int fmt, int transcodeFlags) -
ktxTexture2_TranscodeBasis
-
nktxErrorString
public static long nktxErrorString(int error) Unsafe version of:ErrorString -
ktxErrorString
Returns a string corresponding to a KTX error code. -
nktxSupercompressionSchemeString
public static long nktxSupercompressionSchemeString(int scheme) Unsafe version of:SupercompressionSchemeString -
ktxSupercompressionSchemeString
Returns a string corresponding to a supercompression scheme. -
nktxTranscodeFormatString
public static long nktxTranscodeFormatString(int format) Unsafe version of:TranscodeFormatString -
ktxTranscodeFormatString
Returns a string corresponding to a transcode target format. -
nktxHashList_Create
public static int nktxHashList_Create(long ppHl) -
ktxHashList_Create
public static int ktxHashList_Create(org.lwjgl.PointerBuffer ppHl) -
nktxHashList_CreateCopy
public static int nktxHashList_CreateCopy(long ppHl, long orig) -
ktxHashList_CreateCopy
public static int ktxHashList_CreateCopy(org.lwjgl.PointerBuffer ppHl, long orig) -
ktxHashList_Construct
public static void ktxHashList_Construct(long pHl) -
ktxHashList_ConstructCopy
public static void ktxHashList_ConstructCopy(long pHl, long orig) -
ktxHashList_Destroy
public static void ktxHashList_Destroy(long head) -
ktxHashList_Destruct
public static void ktxHashList_Destruct(long head) -
nktxHashList_AddKVPair
public static int nktxHashList_AddKVPair(long pHead, long key, int valueLen, long value) Unsafe version of:HashList_AddKVPair -
ktxHashList_AddKVPair
Adds a key-value pair to a hash list. -
ktxHashList_AddKVPair
Adds a key-value pair to a hash list. -
ktxHashList_DeleteEntry
public static int ktxHashList_DeleteEntry(long pHead, long pEntry) Deletes aktxHashListEntryfrom aktxHashList. -
nktxHashList_DeleteKVPair
public static int nktxHashList_DeleteKVPair(long pHead, long key) Unsafe version of:HashList_DeleteKVPair -
ktxHashList_DeleteKVPair
Finds the entry for a key in aktxHashListand deletes it. -
ktxHashList_DeleteKVPair
Finds the entry for a key in aktxHashListand deletes it. -
nktxHashList_FindEntry
public static int nktxHashList_FindEntry(long pHead, long key, long ppEntry) Unsafe version of:HashList_FindEntry -
ktxHashList_FindEntry
public static int ktxHashList_FindEntry(long pHead, ByteBuffer key, org.lwjgl.PointerBuffer ppEntry) Looks up a key and returns thektxHashListEntry. -
ktxHashList_FindEntry
public static int ktxHashList_FindEntry(long pHead, CharSequence key, org.lwjgl.PointerBuffer ppEntry) Looks up a key and returns thektxHashListEntry. -
nktxHashList_FindValue
public static int nktxHashList_FindValue(long pHead, long key, long pValueLen, long pValue) Unsafe version of:HashList_FindValue -
ktxHashList_FindValue
public static int ktxHashList_FindValue(long pHead, ByteBuffer key, IntBuffer pValueLen, org.lwjgl.PointerBuffer pValue) Looks up a key and returns the value. -
ktxHashList_FindValue
public static int ktxHashList_FindValue(long pHead, CharSequence key, IntBuffer pValueLen, org.lwjgl.PointerBuffer pValue) Looks up a key and returns the value. -
ktxHashList_Next
public static long ktxHashList_Next(long entry) Return the next entry in aktxHashList. -
ktxHashList_Sort
public static int ktxHashList_Sort(long pHead) Sorts aktxHashListinto order of the key codepoints. -
nktxHashList_Serialize
public static int nktxHashList_Serialize(long pHead, long kvdLen, long kvd) Unsafe version of:HashList_Serialize -
ktxHashList_Serialize
Serializes aktxHashListto a block of memory suitable for writing to a KTX file. -
nktxHashList_Deserialize
public static int nktxHashList_Deserialize(long pHead, int kvdLen, long kvd) Unsafe version of:HashList_Deserialize -
ktxHashList_Deserialize
Creates a hash table from the serialized data read from a a KTX file. -
nktxHashListEntry_GetKey
public static int nktxHashListEntry_GetKey(long This, long pKeyLen, long ppKey) Unsafe version of:HashListEntry_GetKey -
ktxHashListEntry_GetKey
public static int ktxHashListEntry_GetKey(long This, IntBuffer pKeyLen, org.lwjgl.PointerBuffer ppKey) Get the key from aktxHashListEntry. -
nktxHashListEntry_GetValue
public static int nktxHashListEntry_GetValue(long This, long pValueLen, long ppValue) Unsafe version of:HashListEntry_GetValue -
ktxHashListEntry_GetValue
public static int ktxHashListEntry_GetValue(long This, IntBuffer pValueLen, org.lwjgl.PointerBuffer ppValue) Get the value from aktxHashListEntry. -
nktxPrintInfoForNamedFile
public static int nktxPrintInfoForNamedFile(long filename) -
ktxPrintInfoForNamedFile
-
ktxPrintInfoForNamedFile
-
nktxPrintInfoForMemory
public static int nktxPrintInfoForMemory(long bytes, long size) -
ktxPrintInfoForMemory
-
nktxPrintKTX2InfoTextForMemory
public static int nktxPrintKTX2InfoTextForMemory(long bytes, long size) -
ktxPrintKTX2InfoTextForMemory
-
nktxPrintKTX2InfoTextForNamedFile
public static int nktxPrintKTX2InfoTextForNamedFile(long filename) -
ktxPrintKTX2InfoTextForNamedFile
-
ktxPrintKTX2InfoTextForNamedFile
-
nktxPrintKTX2InfoTextForStream
public static int nktxPrintKTX2InfoTextForStream(long stream) -
ktxPrintKTX2InfoTextForStream
-
nktxPrintKTX2InfoJSONForMemory
public static int nktxPrintKTX2InfoJSONForMemory(long bytes, long size, int base_indent, int indent_width, boolean minified) -
ktxPrintKTX2InfoJSONForMemory
public static int ktxPrintKTX2InfoJSONForMemory(ByteBuffer bytes, int base_indent, int indent_width, boolean minified) -
nktxPrintKTX2InfoJSONForNamedFile
public static int nktxPrintKTX2InfoJSONForNamedFile(long filename, int base_indent, int indent_width, boolean minified) -
ktxPrintKTX2InfoJSONForNamedFile
public static int ktxPrintKTX2InfoJSONForNamedFile(ByteBuffer filename, int base_indent, int indent_width, boolean minified) -
ktxPrintKTX2InfoJSONForNamedFile
public static int ktxPrintKTX2InfoJSONForNamedFile(CharSequence filename, int base_indent, int indent_width, boolean minified) -
nktxPrintKTX2InfoJSONForStream
public static int nktxPrintKTX2InfoJSONForStream(long stream, int base_indent, int indent_width, boolean minified) -
ktxPrintKTX2InfoJSONForStream
public static int ktxPrintKTX2InfoJSONForStream(ktxStream stream, int base_indent, int indent_width, boolean minified) -
ktxTexture_Destroy
-
ktxTexture_GetImageOffset
public static int ktxTexture_GetImageOffset(ktxTexture This, int level, int layer, int faceSlice, org.lwjgl.PointerBuffer pOffset) -
ktxTexture_GetDataSizeUncompressed
-
ktxTexture_GetImageSize
-
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, org.lwjgl.PointerBuffer bytes, org.lwjgl.PointerBuffer size) -
ktxTexture_WriteToStream
-