#[repr(u8)]
pub enum Stage {
Vertex,
Hull,
Domain,
Geometry,
Fragment,
Compute,
}Expand description
Which program stage this shader represents.
Variants
Vertex
Hull
Domain
Geometry
Fragment
Compute
Trait Implementations
sourceimpl From<Stage> for ShaderStageFlags
impl From<Stage> for ShaderStageFlags
impl Copy for Stage
impl Eq for Stage
impl StructuralEq for Stage
impl StructuralPartialEq for Stage
Auto Trait Implementations
impl RefUnwindSafe for Stage
impl Send for Stage
impl Sync for Stage
impl Unpin for Stage
impl UnwindSafe for Stage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more