Enum vulkano::format::ClearValue [−][src]
pub enum ClearValue { None, Float([f32; 4]), Int([i32; 4]), Uint([u32; 4]), Depth(f32), Stencil(u32), DepthStencil((f32, u32)), }
Expand description
Describes a uniform value that will be used to fill an image.
Variants
Entry for attachments that aren’t cleared.
Value for floating-point attachments, including Unorm
, Snorm
, Sfloat
.
Value for integer attachments, including Int
.
Value for unsigned integer attachments, including Uint
.
Value for depth attachments.
Tuple Fields of Depth
0: f32
Value for stencil attachments.
Tuple Fields of Stencil
0: u32
Value for depth and stencil attachments.
Trait Implementations
Performs the conversion.
Performs the conversion.
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 ClearValue
impl Send for ClearValue
impl Sync for ClearValue
impl Unpin for ClearValue
impl UnwindSafe for ClearValue
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.