Struct exr::meta::attribute::TileDescription [−][src]
pub struct TileDescription {
pub tile_size: Vec2<usize>,
pub level_mode: LevelMode,
pub rounding_mode: RoundingMode,
}Expand description
Describes how the layer is divided into tiles. Specifies the size of each tile in the image and whether this image contains multiple resolution levels.
Fields
tile_size: Vec2<usize>The size of each tile. Stays the same number of pixels across all levels.
level_mode: LevelModeWhether to also store smaller versions of the image.
rounding_mode: RoundingModeWhether to round up or down when calculating Mip/Rip levels.
Implementations
Without validation, write this instance to the byte stream.
Validate this instance.
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 TileDescription
impl Send for TileDescription
impl Sync for TileDescription
impl Unpin for TileDescription
impl UnwindSafe for TileDescription
Blanket Implementations
Mutably borrows from an owned value. Read more