#[repr(u32)]pub enum BuiltIn {
Show 41 variants
Position = 0,
PointSize = 1,
ClipDistance = 3,
CullDistance = 4,
VertexId = 5,
InstanceId = 6,
PrimitiveId = 7,
InvocationId = 8,
Layer = 9,
ViewportIndex = 10,
TessLevelOuter = 11,
TessLevelInner = 12,
TessCoord = 13,
PatchVertices = 14,
FragCoord = 15,
PointCoord = 16,
FrontFacing = 17,
SampleId = 18,
SamplePosition = 19,
SampleMask = 20,
FragDepth = 22,
HelperInvocation = 23,
NumWorkgroups = 24,
WorkgroupSize = 25,
WorkgroupId = 26,
LocalInvocationId = 27,
GlobalInvocationId = 28,
LocalInvocationIndex = 29,
WorkDim = 30,
GlobalSize = 31,
EnqueuedWorkgroupSize = 32,
GlobalOffset = 33,
GlobalLinearId = 34,
SubgroupSize = 36,
SubgroupMaxSize = 37,
NumSubgroups = 38,
NumEnqueuedSubgroups = 39,
SubgroupId = 40,
SubgroupLocalInvocationId = 41,
VertexIndex = 42,
InstanceIndex = 43,
}
Variants§
Position = 0
PointSize = 1
ClipDistance = 3
CullDistance = 4
VertexId = 5
InstanceId = 6
PrimitiveId = 7
InvocationId = 8
Layer = 9
ViewportIndex = 10
TessLevelOuter = 11
TessLevelInner = 12
TessCoord = 13
PatchVertices = 14
FragCoord = 15
PointCoord = 16
FrontFacing = 17
SampleId = 18
SamplePosition = 19
SampleMask = 20
FragDepth = 22
HelperInvocation = 23
NumWorkgroups = 24
WorkgroupSize = 25
WorkgroupId = 26
LocalInvocationId = 27
GlobalInvocationId = 28
LocalInvocationIndex = 29
WorkDim = 30
GlobalSize = 31
EnqueuedWorkgroupSize = 32
GlobalOffset = 33
GlobalLinearId = 34
SubgroupSize = 36
SubgroupMaxSize = 37
NumSubgroups = 38
NumEnqueuedSubgroups = 39
SubgroupId = 40
SubgroupLocalInvocationId = 41
VertexIndex = 42
InstanceIndex = 43
Implementations§
Trait Implementations§
impl Copy for BuiltIn
impl StructuralPartialEq for BuiltIn
Auto Trait Implementations§
impl Freeze for BuiltIn
impl RefUnwindSafe for BuiltIn
impl Send for BuiltIn
impl Sync for BuiltIn
impl Unpin for BuiltIn
impl UnwindSafe for BuiltIn
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)