pub enum EngineStage {
Vertex,
Fragment,
Shadow,
}Expand description
Which engine pipeline stage an entry point belongs to. A custom Shader stage
declared kind: "vertex" can be a main vertex shader or a shadow caster;
they bind different engine buffers, so the reflector resolves the stage from
the entry-point name (see shader_reflect.rs).
Variants§
Trait Implementations§
Source§impl Clone for EngineStage
impl Clone for EngineStage
Source§fn clone(&self) -> EngineStage
fn clone(&self) -> EngineStage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EngineStage
Source§impl Debug for EngineStage
impl Debug for EngineStage
impl Eq for EngineStage
Source§impl PartialEq for EngineStage
impl PartialEq for EngineStage
impl StructuralPartialEq for EngineStage
Auto Trait Implementations§
impl Freeze for EngineStage
impl RefUnwindSafe for EngineStage
impl Send for EngineStage
impl Sync for EngineStage
impl Unpin for EngineStage
impl UnsafeUnpin for EngineStage
impl UnwindSafe for EngineStage
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.