#[repr(u32)]pub enum ExecutionModel {
Show 17 variants
Vertex = 0,
TessellationControl = 1,
TessellationEvaluation = 2,
Geometry = 3,
Fragment = 4,
GLCompute = 5,
Kernel = 6,
TaskNV = 5_267,
MeshNV = 5_268,
RayGenerationKHR = 5_313,
IntersectionKHR = 5_314,
AnyHitKHR = 5_315,
ClosestHitKHR = 5_316,
MissKHR = 5_317,
CallableKHR = 5_318,
TaskEXT = 5_364,
MeshEXT = 5_365,
}Expand description
SPIR-V operand kind: ExecutionModel
Variants§
Vertex = 0
TessellationControl = 1
TessellationEvaluation = 2
Geometry = 3
Fragment = 4
GLCompute = 5
Kernel = 6
TaskNV = 5_267
MeshNV = 5_268
RayGenerationKHR = 5_313
IntersectionKHR = 5_314
AnyHitKHR = 5_315
ClosestHitKHR = 5_316
MissKHR = 5_317
CallableKHR = 5_318
TaskEXT = 5_364
MeshEXT = 5_365
Implementations§
Source§impl ExecutionModel
impl ExecutionModel
pub const RayGenerationNV: Self = Self::RayGenerationKHR
pub const IntersectionNV: Self = Self::IntersectionKHR
pub const AnyHitNV: Self = Self::AnyHitKHR
pub const ClosestHitNV: Self = Self::ClosestHitKHR
pub const MissNV: Self = Self::MissKHR
pub const CallableNV: Self = Self::CallableKHR
Trait Implementations§
Source§impl Clone for ExecutionModel
impl Clone for ExecutionModel
Source§fn clone(&self) -> ExecutionModel
fn clone(&self) -> ExecutionModel
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 moreSource§impl Debug for ExecutionModel
impl Debug for ExecutionModel
Source§impl FromStr for ExecutionModel
impl FromStr for ExecutionModel
Source§impl Hash for ExecutionModel
impl Hash for ExecutionModel
Source§impl Ord for ExecutionModel
impl Ord for ExecutionModel
Source§fn cmp(&self, other: &ExecutionModel) -> Ordering
fn cmp(&self, other: &ExecutionModel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExecutionModel
impl PartialEq for ExecutionModel
Source§impl PartialOrd for ExecutionModel
impl PartialOrd for ExecutionModel
impl Copy for ExecutionModel
impl Eq for ExecutionModel
impl StructuralPartialEq for ExecutionModel
Auto Trait Implementations§
impl Freeze for ExecutionModel
impl RefUnwindSafe for ExecutionModel
impl Send for ExecutionModel
impl Sync for ExecutionModel
impl Unpin for ExecutionModel
impl UnsafeUnpin for ExecutionModel
impl UnwindSafe for ExecutionModel
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