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

#[repr(u32)]
pub enum StoreOp { Store, DontCare, }

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

Variants

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

While this is the most intuitive option, it is also slower than DontCare because it can take time to write the data back to memory.

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 memory 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. In other words, the content of the image will be undefined.

Trait Implementations

impl Debug for StoreOp
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for StoreOp
[src]

impl Clone for StoreOp
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for StoreOp
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for StoreOp
[src]

impl Hash for StoreOp
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for StoreOp

impl Sync for StoreOp