Crate libktx_rs_sys[−][src]
Expand description
A low-level Rust wrapper over KhronosGroup/KTX-Software, a library for reading, transcoding and writing Khronos Textures (KTX).
You very likely want to use the high-level wrapper, [libktx_rs] instead of this crate!
Re-exports
pub use self::ktx_error_code_e as ktxResult; |
Structs
| __BindgenUnionField | |
| ktxBasisParams | @memberof ktxTexture2 @~English @brief Structure for passing extended parameters to ktxTexture2_CompressBasisEx. |
| ktxFormatSize | @brief Structure for holding size information for a texture format. |
| ktxKVListEntry | |
| ktxMem | |
| ktxOrientation | @~English @brief Struct describing the logical orientation of an image. |
| ktxStream | @~English |
| ktxStream__bindgen_ty_1 | |
| ktxStream__bindgen_ty_1__bindgen_ty_1 | |
| ktxTexture | @class ktxTexture @~English @brief Base class representing a texture. |
| ktxTexture1 | @class ktxTexture1 @~English @brief Class representing a KTX version 1 format texture. |
| ktxTexture1_private | < Private data. |
| ktxTexture2 | @class ktxTexture2 @~English @brief Class representing a KTX version 2 format texture. |
| ktxTexture2_private | < Private data. |
| ktxTextureCreateInfo | @memberof ktxTexture @~English @brief Structure for passing texture information to ktxTexture[12]_Create(). |
| ktxTexture_protected | @memberof ktxTexture @~English |
| ktxTexture_vtbl | @memberof ktxTexture @~English @brief Table of virtual ktxTexture methods. |
| ktxTexture_vtblInt | |
| ktxTexture_vvtbl |
Constants
Statics
| KTX_ETC1S_DEFAULT_COMPRESSION_LEVEL |
Functions
Type Definitions
| FILE | |
| GLenum | |
| GLuint | |
| PFNCALCDATASIZELEVELS | |
| PFNCALCFACELODSIZE | |
| PFNCALCLEVELOFFSET | |
| PFNKTEXDESTROY | Don’t use KTX_APIENTRYP to avoid a Doxygen bug. |
| PFNKTEXGETDATASIZEUNCOMPRESSED | |
| PFNKTEXGETIMAGEOFFSET | |
| PFNKTEXGETIMAGESIZE | |
| PFNKTEXITERATELEVELS | |
| PFNKTEXITERATELOADLEVELFACES | |
| PFNKTEXLOADIMAGEDATA | |
| PFNKTEXNEEDSTRANSCODING | |
| PFNKTEXSETIMAGEFROMMEMORY | |
| PFNKTEXSETIMAGEFROMSTDIOSTREAM | |
| PFNKTEXWRITETOMEMORY | |
| PFNKTEXWRITETONAMEDFILE | |
| PFNKTEXWRITETOSTDIOSTREAM | |
| PFNKTEXWRITETOSTREAM | |
| PFNKTXITERCB | @memberof ktxTexture @~English @brief Signature of function called by the ktxTexture_Iterate* functions to receive image data. |
| __int16_t | |
| __int32_t | |
| __int64_t | |
| __off_t | |
| __uint16_t | |
| __uint32_t | |
| __uint64_t | |
| class_id | |
| ktxFormatSizeFlagBits | |
| ktxFormatSizeFlags | |
| ktxFormatVersionEnum | |
| ktxHashList | @class ktxHashList @~English @brief Opaque handle to a ktxHashList. |
| ktxHashListEntry | @class ktxHashListEntry @~English @brief Opaque handle to an entry in a @ref ktxHashList. |
| ktxOrientationX | |
| ktxOrientationY | |
| ktxOrientationZ | |
| ktxStream__custom_ptr | |
| ktxStream__data | |
| ktxStream_destruct | @~English @brief Destruct a stream |
| ktxStream_getpos | @~English @brief type for a pointer to a stream position query function |
| ktxStream_getsize | @~English @brief type for a pointer to a stream size query function |
| ktxStream_read | @~English @brief type for a pointer to a stream reading function |
| ktxStream_setpos | @~English @brief type for a pointer to a stream position query function |
| ktxStream_skip | @~English @brief type for a pointer to a stream skipping function |
| ktxStream_write | @~English @brief type for a pointer to a stream reading function |
| ktxSupercmpScheme | @~English @brief Enumerators identifying the supercompression scheme. |
| ktxTextureCreateFlagBits | @memberof ktxTexture @~English @brief Flags for requesting services during creation. |
| ktxTextureCreateFlags | @memberof ktxTexture @~English @brief Type for TextureCreateFlags parameters. |
| ktxTextureCreateStorageEnum | @memberof ktxTexture @~English @brief Enum for requesting, or not, allocation of storage for images. |
| ktx_bool_t | |
| ktx_error_code_e | @~English @brief Error codes returned by library functions. |
| ktx_int16_t | |
| ktx_int32_t | |
| ktx_int64_t | |
| ktx_off_t | |
| ktx_pack_uastc_flag_bits_e | @~English @brief Flags specifiying UASTC encoding options. |
| ktx_pack_uastc_flags | |
| ktx_size_t | |
| ktx_transcode_flag_bits_e | @~English @brief Flags guiding transcoding of Basis Universal compressed textures. |
| ktx_transcode_flags | |
| ktx_transcode_fmt_e | @~English @brief Enumerators for specifying the transcode target format. |
| ktx_uint8_t | To avoid including <KHR/khrplatform.h> define our own types. |
| ktx_uint16_t | |
| ktx_uint32_t | |
| ktx_uint32_t_SIZE_ASSERT | This will cause compilation to fail if size of uint32 != 4. |
| ktx_uint64_t | |
| off_t | |
| size_t | |
| streamType |