#[repr(C)]pub struct TiImageExtent {
pub width: u32,
pub height: u32,
pub depth: u32,
pub array_layer_count: u32,
}Expand description
Structure TiImageExtent
Extents of an image in X, Y, Z, and array layers.
Fields§
§width: u32Image extent in the X direction.
height: u32Image extent in the Y direction. Must be 1 if the image has a dimension of enumeration.image_dimension.1d or enumeration.image_dimension.1d_array.
depth: u32Image extent in the Z direction. Must be 1 if the image has a dimension of enumeration.image_dimension.1d, enumeration.image_dimension.2d, enumeration.image_dimension.1d_array, enumeration.image_dimension.2d_array or enumeration.image_dimension.cube_array.
array_layer_count: u32Image extent in array layers. Must be 1 if the image has a dimension of enumeration.image_dimension.1d, enumeration.image_dimension.2d or enumeration.image_dimension.3d. Must be 6 if the image has a dimension of enumeration.image_dimension.cube_array.
Trait Implementations§
Source§impl Clone for TiImageExtent
impl Clone for TiImageExtent
Source§fn clone(&self) -> TiImageExtent
fn clone(&self) -> TiImageExtent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more