pub enum EngineShaderModule {
Strip,
Clear,
Copy,
Filter,
}Expand description
Which of the four registered modules a pipeline draws with.
The module identity a RenderPipelineDesc carries is a ShaderId,
which only a ShaderLibrary can mint. This names the same distinction
without a device in the loop.
Variants§
Strip
strip.wgsl — the sparse-strip rasterizer.
Clear
clear.wgsl — region and fullscreen clears.
Copy
copy.wgsl — rectangular region copies.
Filter
filter.wgsl — one pass of a layer filter’s sequence.
Trait Implementations§
Source§impl Clone for EngineShaderModule
impl Clone for EngineShaderModule
impl Copy for EngineShaderModule
Source§impl Debug for EngineShaderModule
impl Debug for EngineShaderModule
impl Eq for EngineShaderModule
Source§impl Hash for EngineShaderModule
impl Hash for EngineShaderModule
Source§impl PartialEq for EngineShaderModule
impl PartialEq for EngineShaderModule
impl StructuralPartialEq for EngineShaderModule
Auto Trait Implementations§
impl Freeze for EngineShaderModule
impl RefUnwindSafe for EngineShaderModule
impl Send for EngineShaderModule
impl Sync for EngineShaderModule
impl Unpin for EngineShaderModule
impl UnsafeUnpin for EngineShaderModule
impl UnwindSafe for EngineShaderModule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.