[][src]Enum vulkano::format::ClearValue

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 Clone for ClearValue[src]

impl PartialEq<ClearValue> for ClearValue[src]

impl From<[f32; 1]> for ClearValue[src]

impl From<[f32; 2]> for ClearValue[src]

impl From<[f32; 3]> for ClearValue[src]

impl From<[f32; 4]> for ClearValue[src]

impl From<[u32; 1]> for ClearValue[src]

impl From<[u32; 2]> for ClearValue[src]

impl From<[u32; 3]> for ClearValue[src]

impl From<[u32; 4]> for ClearValue[src]

impl From<[i32; 1]> for ClearValue[src]

impl From<[i32; 2]> for ClearValue[src]

impl From<[i32; 3]> for ClearValue[src]

impl From<[i32; 4]> for ClearValue[src]

impl From<f32> for ClearValue[src]

impl From<u32> for ClearValue[src]

impl From<(f32, u32)> for ClearValue[src]

impl Copy for ClearValue[src]

impl Debug for ClearValue[src]

Auto Trait Implementations

impl Send for ClearValue

impl Unpin for ClearValue

impl Sync for ClearValue

impl UnwindSafe for ClearValue

impl RefUnwindSafe for ClearValue

Blanket Implementations

impl<T> Content for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]