Enum DxcShaderModel
pub enum DxcShaderModel {
V6_0,
V6_1,
V6_2,
V6_3,
V6_4,
V6_5,
V6_6,
V6_7,
V6_8,
}Expand description
DXC shader model.
Variants§
Implementations§
§impl DxcShaderModel
impl DxcShaderModel
pub fn from_dxc_version(major: u32, minor: u32) -> DxcShaderModel
pub fn from_dxc_version(major: u32, minor: u32) -> DxcShaderModel
Get the shader model supported by a certain DXC version.
pub fn from_parts(major: u32, minor: u32) -> DxcShaderModel
pub fn from_parts(major: u32, minor: u32) -> DxcShaderModel
Parse a DxcShaderModel from its version components.
Trait Implementations§
§impl Clone for DxcShaderModel
impl Clone for DxcShaderModel
§fn clone(&self) -> DxcShaderModel
fn clone(&self) -> DxcShaderModel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DxcShaderModel
impl RefUnwindSafe for DxcShaderModel
impl Send for DxcShaderModel
impl Sync for DxcShaderModel
impl Unpin for DxcShaderModel
impl UnwindSafe for DxcShaderModel
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