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: ktxFormatSizeFlagspaletteSizeInBits: c_uintFor KTX1.
blockSizeInBits: c_uintblockWidth: c_uintin texels
blockHeight: c_uintin texels
blockDepth: c_uintin texels
minBlocksX: c_uintMinimum required number of blocks
minBlocksY: c_uintTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ktxFormatSizeimpl Send for ktxFormatSizeimpl Sync for ktxFormatSizeimpl Unpin for ktxFormatSizeimpl UnwindSafe for ktxFormatSizeBlanket Implementations
Mutably borrows from an owned value. Read more