Enum wgpu_types::ShaderModel [−][src]
pub enum ShaderModel { Sm2, Sm4, Sm5, }
Expand description
Collections of shader features a device supports if they support less than WebGPU normally allows.
Variants
Extremely limited shaders, including a total instruction limit.
Missing minor features and storage images.
WebGPU supports shader module 5.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ShaderModel
impl Send for ShaderModel
impl Sync for ShaderModel
impl Unpin for ShaderModel
impl UnwindSafe for ShaderModel
Blanket Implementations
Mutably borrows from an owned value. Read more