Enum vulkano::framebuffer::StoreOp [] [src]

pub enum StoreOp {
    Store,
    DontCare,
}

Describes what the implementation should do with an attachment after all the subpasses have completed.

Variants

Store

The attachment will be stored. This is what you usually want.

DontCare

What happens is implementation-specific.

This is purely an optimization compared to Store. The implementation doesn't need to copy from the internal cache to the memory, which saves bandwidth.

This doesn't mean that the data won't be copied, as an implementation is also free to not use a cache and write the output directly in memory.

Trait Implementations

impl Hash for StoreOp
[src]

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl Eq for StoreOp
[src]

impl PartialEq for StoreOp
[src]

fn eq(&self, __arg_0: &StoreOp) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Clone for StoreOp
[src]

fn clone(&self) -> StoreOp

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 Copy for StoreOp
[src]

impl Debug for StoreOp
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.