Enum sierra::ImageViewKind
source · pub enum ImageViewKind {
D1,
D2,
D3,
Cube,
}
Expand description
Kind of image view.
Variants§
D1
One dimensional image view
D2
Two dimensional image view.
D3
Three dimensional image view.
Cube
Cube view. 6 image layers are treated as sides of a cube. Cube views can be sampled by direction vector resulting in sample at intersection of cube and a ray with origin in center of cube and direction of that vector
Trait Implementations§
source§impl Clone for ImageViewKind
impl Clone for ImageViewKind
source§fn clone(&self) -> ImageViewKind
fn clone(&self) -> ImageViewKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImageViewKind
impl Debug for ImageViewKind
source§impl Hash for ImageViewKind
impl Hash for ImageViewKind
source§impl PartialEq<ImageViewKind> for ImageViewKind
impl PartialEq<ImageViewKind> for ImageViewKind
source§fn eq(&self, other: &ImageViewKind) -> bool
fn eq(&self, other: &ImageViewKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.