Struct libktx_rs_sys::ktxFormatSize [−][src]
#[repr(C)]pub struct ktxFormatSize { pub flags: ktxFormatSizeFlags, pub paletteSizeInBits: c_uint, pub blockSizeInBits: c_uint, pub blockWidth: c_uint, pub blockHeight: c_uint, pub blockDepth: c_uint, pub minBlocksX: c_uint, pub minBlocksY: c_uint, }
Expand description
@brief Structure for holding size information for a texture format.
Fields
flags: ktxFormatSizeFlags
paletteSizeInBits: c_uint
For KTX1.
blockSizeInBits: c_uint
blockWidth: c_uint
in texels
blockHeight: c_uint
in texels
blockDepth: c_uint
in texels
minBlocksX: c_uint
Minimum required number of blocks
minBlocksY: c_uint
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ktxFormatSize
impl Send for ktxFormatSize
impl Sync for ktxFormatSize
impl Unpin for ktxFormatSize
impl UnwindSafe for ktxFormatSize
Blanket Implementations
Mutably borrows from an owned value. Read more