Enum sierra::ShaderLanguage [−][src]
#[non_exhaustive] pub enum ShaderLanguage { GLSL { stage: ShaderStage, }, HLSL, WGSL, SPIRV, }
Expand description
Shader language.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
OpengGL Shading Language.
Fields of GLSL
stage: ShaderStage
High Level Shading Language.
WebGPU Shading Language.
Standard Portable Intermediate Representation - V.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ShaderLanguage
impl Send for ShaderLanguage
impl Sync for ShaderLanguage
impl Unpin for ShaderLanguage
impl UnwindSafe for ShaderLanguage
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more