pub enum LoadOp<V> {
Clear(V),
Load,
}
Expand description
Operation to perform to the output attachment at the start of a render pass.
The render target must be cleared at least once before its content is loaded.
Corresponds to WebGPU GPULoadOp
.
Variants§
Trait Implementations§
source§impl<V: PartialEq> PartialEq<LoadOp<V>> for LoadOp<V>
impl<V: PartialEq> PartialEq<LoadOp<V>> for LoadOp<V>
impl<V: Copy> Copy for LoadOp<V>
impl<V: Eq> Eq for LoadOp<V>
impl<V> StructuralEq for LoadOp<V>
impl<V> StructuralPartialEq for LoadOp<V>
Auto Trait Implementations§
impl<V> RefUnwindSafe for LoadOp<V>where V: RefUnwindSafe,
impl<V> Send for LoadOp<V>where V: Send,
impl<V> Sync for LoadOp<V>where V: Sync,
impl<V> Unpin for LoadOp<V>where V: Unpin,
impl<V> UnwindSafe for LoadOp<V>where V: UnwindSafe,
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.