Enum gfx::core::shade::ShaderModel
[−]
pub enum ShaderModel {
Unsupported,
Version30,
Version40,
Version41,
Version50,
}Shader model supported by the device, corresponds to the HLSL shader models.
Variants
UnsupportedVersion30Version40Version41Version50Methods
impl ShaderModel
Trait Implementations
impl Debug for ShaderModel
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl PartialOrd<ShaderModel> for ShaderModel
fn partial_cmp(&self, __arg_0: &ShaderModel) -> Option<Ordering>
impl PartialEq<ShaderModel> for ShaderModel
fn eq(&self, __arg_0: &ShaderModel) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Clone for ShaderModel
fn clone(&self) -> ShaderModel
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