Enum vulkano_shaders::ShaderType []

pub enum ShaderType {
    Vertex,
    Fragment,
    Geometry,
    TessellationControl,
    TessellationEvaluation,
    Compute,
}

Type of shader.

Variants

VertexFragmentGeometryTessellationControlTessellationEvaluationCompute

Trait Implementations

impl Eq for ShaderType

impl PartialEq<ShaderType> for ShaderType

fn eq(&self, __arg_0: &ShaderType) -> bool

impl Clone for ShaderType

fn clone(&self) -> ShaderType

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for ShaderType

fn fmt(&self, __arg_0: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.