pub enum DownlevelShaderModel {
ShaderModel2,
ShaderModel4,
ShaderModel5,
}
Expand description
Collections of shader features shaders support if they support less than vulkan does.
Variants§
ShaderModel2
Extremely limited shaders, including a total instruction limit.
ShaderModel4
Missing minor features and storage images.
ShaderModel5
Vulkan shaders are SM5
Trait Implementations§
Source§impl Clone for DownlevelShaderModel
impl Clone for DownlevelShaderModel
Source§fn clone(&self) -> DownlevelShaderModel
fn clone(&self) -> DownlevelShaderModel
Returns a copy 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 moreSource§impl Debug for DownlevelShaderModel
impl Debug for DownlevelShaderModel
Source§impl Default for DownlevelShaderModel
impl Default for DownlevelShaderModel
Source§impl PartialEq for DownlevelShaderModel
impl PartialEq for DownlevelShaderModel
impl Copy for DownlevelShaderModel
impl StructuralPartialEq for DownlevelShaderModel
Auto Trait Implementations§
impl Freeze for DownlevelShaderModel
impl RefUnwindSafe for DownlevelShaderModel
impl Send for DownlevelShaderModel
impl Sync for DownlevelShaderModel
impl Unpin for DownlevelShaderModel
impl UnwindSafe for DownlevelShaderModel
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