Struct libktx_rs_sys::ktxTexture[][src]

#[repr(C)]
pub struct ktxTexture {
Show 21 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,
}
Expand description

@class ktxTexture @~English @brief Base class representing a texture.

ktxTextures should be created only by one of the provided functions and these fields should be considered read-only.

Fields

classId: class_idvtbl: *mut ktxTexture_vtblvvtbl: *mut ktxTexture_vvtbl_protected: *mut ktxTexture_protectedisArray: ktx_bool_tisCubemap: ktx_bool_tisCompressed: ktx_bool_tgenerateMipmaps: ktx_bool_tbaseWidth: ktx_uint32_tbaseHeight: ktx_uint32_tbaseDepth: ktx_uint32_tnumDimensions: ktx_uint32_tnumLevels: ktx_uint32_tnumLayers: ktx_uint32_tnumFaces: ktx_uint32_torientation: ktxOrientationkvDataHead: ktxHashListkvDataLen: ktx_uint32_tkvData: *mut ktx_uint8_tdataSize: ktx_size_tpData: *mut ktx_uint8_t

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.