pub enum ShaderKind {
Vertex = 35_633,
Fragment = 35_632,
Geometry = 36_313,
Compute = 37_305,
}Expand description
The type of shader.
Variants§
Vertex = 35_633
Represents a vertex shader.
Fragment = 35_632
Represents a fragment shader.
Geometry = 36_313
Represents a geometry shader.
Compute = 37_305
Represents a compute shader.
Auto Trait Implementations§
impl Freeze for ShaderKind
impl RefUnwindSafe for ShaderKind
impl Send for ShaderKind
impl Sync for ShaderKind
impl Unpin for ShaderKind
impl UnwindSafe for ShaderKind
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