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)), }
Describes a uniform value that will be used to fill an image.
Variants
None
Entry for attachments that aren't cleared.
Float([f32; 4])
Value for floating-point attachments, including Unorm
, Snorm
, Sfloat
.
Int([i32; 4])
Value for integer attachments, including Int
.
Uint([u32; 4])
Value for unsigned integer attachments, including Uint
.
Depth(f32)
Value for depth attachments.
Stencil(u32)
Value for stencil attachments.
DepthStencil((f32, u32))
Value for depth and stencil attachments.
Trait Implementations
impl Debug for ClearValue
[src]
impl Copy for ClearValue
[src]
impl Clone for ClearValue
[src]
fn clone(&self) -> ClearValue
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for ClearValue
[src]
fn eq(&self, __arg_0: &ClearValue) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ClearValue) -> bool
This method tests for !=
.
impl From<[f32; 1]> for ClearValue
[src]
fn from(val: [f32; 1]) -> ClearValue
Performs the conversion.
impl From<[f32; 2]> for ClearValue
[src]
fn from(val: [f32; 2]) -> ClearValue
Performs the conversion.
impl From<[f32; 3]> for ClearValue
[src]
fn from(val: [f32; 3]) -> ClearValue
Performs the conversion.
impl From<[f32; 4]> for ClearValue
[src]
fn from(val: [f32; 4]) -> ClearValue
Performs the conversion.
impl From<[u32; 1]> for ClearValue
[src]
fn from(val: [u32; 1]) -> ClearValue
Performs the conversion.
impl From<[u32; 2]> for ClearValue
[src]
fn from(val: [u32; 2]) -> ClearValue
Performs the conversion.
impl From<[u32; 3]> for ClearValue
[src]
fn from(val: [u32; 3]) -> ClearValue
Performs the conversion.
impl From<[u32; 4]> for ClearValue
[src]
fn from(val: [u32; 4]) -> ClearValue
Performs the conversion.
impl From<[i32; 1]> for ClearValue
[src]
fn from(val: [i32; 1]) -> ClearValue
Performs the conversion.
impl From<[i32; 2]> for ClearValue
[src]
fn from(val: [i32; 2]) -> ClearValue
Performs the conversion.
impl From<[i32; 3]> for ClearValue
[src]
fn from(val: [i32; 3]) -> ClearValue
Performs the conversion.
impl From<[i32; 4]> for ClearValue
[src]
fn from(val: [i32; 4]) -> ClearValue
Performs the conversion.
impl From<f32> for ClearValue
[src]
fn from(val: f32) -> ClearValue
Performs the conversion.
impl From<u32> for ClearValue
[src]
fn from(val: u32) -> ClearValue
Performs the conversion.