Struct libktx_rs::sources::CommonCreateInfo [−][src]
pub struct CommonCreateInfo { pub create_storage: CreateStorage, pub base_width: u32, pub base_height: u32, pub base_depth: u32, pub num_dimensions: u32, pub num_levels: u32, pub num_layers: u32, pub num_faces: u32, pub is_array: bool, pub generate_mipmaps: bool, }
Expand description
Texture
creation info common to KTX1 and KTX2.
Fields
create_storage: CreateStorage
base_width: u32
base_height: u32
base_depth: u32
num_dimensions: u32
num_levels: u32
num_layers: u32
num_faces: u32
is_array: bool
generate_mipmaps: bool
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CommonCreateInfo
impl Send for CommonCreateInfo
impl Sync for CommonCreateInfo
impl Unpin for CommonCreateInfo
impl UnwindSafe for CommonCreateInfo
Blanket Implementations
Mutably borrows from an owned value. Read more