Package org.lwjgl.util.ktx
@NullMarked
package org.lwjgl.util.ktx
Contains bindings to the KTX (Khronos Texture), a lightweight container for textures for OpenGLĀ®, VulkanĀ® and
other GPU APIs.
The LWJGL bindings support the KTX encoding functionality, but its presence is optional. Applications may choose to deploy the read-only version of the
KTX library (ktx_read) and the bindings will work. The KTX_LIBRARY_NAME option can be
used to change the loaded library.
-
ClassDescriptionNative bindings to KTX (Khronos Texture).Contains the function pointers loaded from the ktx
SharedLibrary.Structure for passing extended parameters toktxTexture_CompressAstc.An array ofktxAstcParamsstructs.Structure for passing extended parameters toTexture2_CompressBasisEx.An array ofktxBasisParamsstructs.Struct describing the logical orientation of an image.An array ofktxOrientationstructs.Interface ofktxStream.TypeTypeTypeTypeTypeTypeTypeTypeTypeTypeTypeTypeTypeTypeAn array ofktxStreamstructs.Base class representing a texture.Table of virtualktxTexturemethods.An array ofktxTexture_vtblstructs.An array ofktxTexturestructs.Class representing a KTX version 1 format texture.An array ofktxTexture1structs.Class representing a KTX version 2 format texture.An array ofktxTexture2structs.Structure for passing texture information toTexture1_CreateandTexture2_Create.An array ofktxTextureCreateInfostructs.Contains the function pointers loaded fromKTX.getLibrary().Struct for passing information about the Vulkan device on which to create images to the texture image loading functions.An array ofktxVulkanDeviceInfostructs.Struct for applications to pass Vulkan function pointers to theTexture_VkUploadfunctions via aktxVulkanDeviceInfostruct.An array ofktxVulkanFunctionsstructs.Struct for returning information about the Vulkan texture image created by thektxTexture_VkUpload*functions.TypeTypeTypeTypeTypeTypeStruct that contains all callbacks necessary for suballocation.An array ofktxVulkanTexture_subAllocatorCallbacksstructs.TypeTypeTypeTypeTypeTypeAn array ofktxVulkanTexturestructs.TypeType