Struct libktx_rs_sys::ktxTexture1 [−][src]
#[repr(C)]pub struct ktxTexture1 {}Show fields
pub classId: class_id, pub vtbl: *mut ktxTexture_vtbl, pub vvtbl: *mut ktxTexture_vvtbl, pub _protected: *mut ktxTexture_protected, pub isArray: ktx_bool_t, pub isCubemap: ktx_bool_t, pub isCompressed: ktx_bool_t, pub generateMipmaps: ktx_bool_t, pub baseWidth: ktx_uint32_t, pub baseHeight: ktx_uint32_t, pub baseDepth: ktx_uint32_t, pub numDimensions: ktx_uint32_t, pub numLevels: ktx_uint32_t, pub numLayers: ktx_uint32_t, pub numFaces: ktx_uint32_t, pub orientation: ktxOrientation, pub kvDataHead: ktxHashList, pub kvDataLen: ktx_uint32_t, pub kvData: *mut ktx_uint8_t, pub dataSize: ktx_size_t, pub pData: *mut ktx_uint8_t, pub glFormat: ktx_uint32_t, pub glInternalformat: ktx_uint32_t, pub glBaseInternalformat: ktx_uint32_t, pub glType: ktx_uint32_t, pub _private: *mut ktxTexture1_private,
Expand description
@class ktxTexture1 @~English @brief Class representing a KTX version 1 format texture.
ktxTextures should be created only by one of the ktxTexture_Create* functions and these fields should be considered read-only.
Fields
classId: class_id
vtbl: *mut ktxTexture_vtbl
vvtbl: *mut ktxTexture_vvtbl
_protected: *mut ktxTexture_protected
isArray: ktx_bool_t
isCubemap: ktx_bool_t
isCompressed: ktx_bool_t
generateMipmaps: ktx_bool_t
baseWidth: ktx_uint32_t
baseHeight: ktx_uint32_t
baseDepth: ktx_uint32_t
numDimensions: ktx_uint32_t
numLevels: ktx_uint32_t
numLayers: ktx_uint32_t
numFaces: ktx_uint32_t
orientation: ktxOrientation
kvDataHead: ktxHashList
kvDataLen: ktx_uint32_t
kvData: *mut ktx_uint8_t
dataSize: ktx_size_t
pData: *mut ktx_uint8_t
glFormat: ktx_uint32_t
< Format of the texture data, e.g., GL_RGB.
glInternalformat: ktx_uint32_t
< Internal format of the texture data, e.g., GL_RGB8.
glBaseInternalformat: ktx_uint32_t
< Base format of the texture data, e.g., GL_RGB.
glType: ktx_uint32_t
< Type of the texture data, e.g, GL_UNSIGNED_BYTE.
_private: *mut ktxTexture1_private
< Private data.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ktxTexture1
impl !Send for ktxTexture1
impl !Sync for ktxTexture1
impl Unpin for ktxTexture1
impl UnwindSafe for ktxTexture1
Blanket Implementations
Mutably borrows from an owned value. Read more