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

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.

Value for stencil attachments.

Value for depth and stencil attachments.

Trait Implementations

impl Debug for ClearValue
[src]

[src]

Formats the value using the given formatter.

impl Copy for ClearValue
[src]

impl Clone for ClearValue
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ClearValue
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<f32> for ClearValue
[src]

[src]

Performs the conversion.

impl From<u32> for ClearValue
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.