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

#[repr(u32)]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.

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.

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

impl Copy for StoreOp[src]

impl Debug for StoreOp[src]

impl Eq for StoreOp[src]

impl Hash for StoreOp[src]

impl PartialEq<StoreOp> for StoreOp[src]

impl StructuralEq for StoreOp[src]

impl StructuralPartialEq for StoreOp[src]

Auto Trait Implementations

impl RefUnwindSafe for StoreOp

impl Send for StoreOp

impl Sync for StoreOp

impl Unpin for StoreOp

impl UnwindSafe for StoreOp

Blanket Implementations

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

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

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

impl<T> Content for T[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.