pub enum ShaderStageForValidation {
Vertex {
topology: PrimitiveTopology,
compare_function: Option<CompareFunction>,
},
Mesh,
Fragment {
dual_source_blending: bool,
has_depth_attachment: bool,
},
Compute,
Task,
}Variants§
Implementations§
Source§impl ShaderStageForValidation
impl ShaderStageForValidation
pub fn to_naga(&self) -> ShaderStage
pub fn to_wgt_bit(&self) -> ShaderStages
Auto Trait Implementations§
impl Freeze for ShaderStageForValidation
impl RefUnwindSafe for ShaderStageForValidation
impl Send for ShaderStageForValidation
impl Sync for ShaderStageForValidation
impl Unpin for ShaderStageForValidation
impl UnsafeUnpin for ShaderStageForValidation
impl UnwindSafe for ShaderStageForValidation
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