Enum vulkano::shader::spirv::BuiltIn [−][src]
pub enum BuiltIn {
Show 99 variants
Position,
PointSize,
ClipDistance,
CullDistance,
VertexId,
InstanceId,
PrimitiveId,
InvocationId,
Layer,
ViewportIndex,
TessLevelOuter,
TessLevelInner,
TessCoord,
PatchVertices,
FragCoord,
PointCoord,
FrontFacing,
SampleId,
SamplePosition,
SampleMask,
FragDepth,
HelperInvocation,
NumWorkgroups,
WorkgroupSize,
WorkgroupId,
LocalInvocationId,
GlobalInvocationId,
LocalInvocationIndex,
WorkDim,
GlobalSize,
EnqueuedWorkgroupSize,
GlobalOffset,
GlobalLinearId,
SubgroupSize,
SubgroupMaxSize,
NumSubgroups,
NumEnqueuedSubgroups,
SubgroupId,
SubgroupLocalInvocationId,
VertexIndex,
InstanceIndex,
SubgroupEqMask,
SubgroupGeMask,
SubgroupGtMask,
SubgroupLeMask,
SubgroupLtMask,
BaseVertex,
BaseInstance,
DrawIndex,
PrimitiveShadingRateKHR,
DeviceIndex,
ViewIndex,
ShadingRateKHR,
BaryCoordNoPerspAMD,
BaryCoordNoPerspCentroidAMD,
BaryCoordNoPerspSampleAMD,
BaryCoordSmoothAMD,
BaryCoordSmoothCentroidAMD,
BaryCoordSmoothSampleAMD,
BaryCoordPullModelAMD,
FragStencilRefEXT,
ViewportMaskNV,
SecondaryPositionNV,
SecondaryViewportMaskNV,
PositionPerViewNV,
ViewportMaskPerViewNV,
FullyCoveredEXT,
TaskCountNV,
PrimitiveCountNV,
PrimitiveIndicesNV,
ClipDistancePerViewNV,
CullDistancePerViewNV,
LayerPerViewNV,
MeshViewCountNV,
MeshViewIndicesNV,
BaryCoordNV,
BaryCoordNoPerspNV,
FragSizeEXT,
FragInvocationCountEXT,
LaunchIdKHR,
LaunchSizeKHR,
WorldRayOriginKHR,
WorldRayDirectionKHR,
ObjectRayOriginKHR,
ObjectRayDirectionKHR,
RayTminKHR,
RayTmaxKHR,
InstanceCustomIndexKHR,
ObjectToWorldKHR,
WorldToObjectKHR,
HitTNV,
HitKindKHR,
CurrentRayTimeNV,
IncomingRayFlagsKHR,
RayGeometryIndexKHR,
WarpsPerSMNV,
SMCountNV,
WarpIDNV,
SMIDNV,
}
Variants
Position
PointSize
ClipDistance
CullDistance
VertexId
InstanceId
PrimitiveId
InvocationId
Layer
ViewportIndex
TessLevelOuter
TessLevelInner
TessCoord
PatchVertices
FragCoord
PointCoord
FrontFacing
SampleId
SamplePosition
SampleMask
FragDepth
HelperInvocation
NumWorkgroups
WorkgroupSize
WorkgroupId
LocalInvocationId
GlobalInvocationId
LocalInvocationIndex
WorkDim
GlobalSize
EnqueuedWorkgroupSize
GlobalOffset
GlobalLinearId
SubgroupSize
SubgroupMaxSize
NumSubgroups
NumEnqueuedSubgroups
SubgroupId
SubgroupLocalInvocationId
VertexIndex
InstanceIndex
SubgroupEqMask
SubgroupGeMask
SubgroupGtMask
SubgroupLeMask
SubgroupLtMask
BaseVertex
BaseInstance
DrawIndex
PrimitiveShadingRateKHR
DeviceIndex
ViewIndex
ShadingRateKHR
BaryCoordNoPerspAMD
BaryCoordNoPerspCentroidAMD
BaryCoordNoPerspSampleAMD
BaryCoordSmoothAMD
BaryCoordSmoothCentroidAMD
BaryCoordSmoothSampleAMD
BaryCoordPullModelAMD
FragStencilRefEXT
ViewportMaskNV
SecondaryPositionNV
SecondaryViewportMaskNV
PositionPerViewNV
ViewportMaskPerViewNV
FullyCoveredEXT
TaskCountNV
PrimitiveCountNV
PrimitiveIndicesNV
ClipDistancePerViewNV
CullDistancePerViewNV
LayerPerViewNV
MeshViewCountNV
MeshViewIndicesNV
BaryCoordNV
BaryCoordNoPerspNV
FragSizeEXT
FragInvocationCountEXT
LaunchIdKHR
LaunchSizeKHR
WorldRayOriginKHR
WorldRayDirectionKHR
ObjectRayOriginKHR
ObjectRayDirectionKHR
RayTminKHR
RayTmaxKHR
InstanceCustomIndexKHR
ObjectToWorldKHR
WorldToObjectKHR
HitTNV
HitKindKHR
CurrentRayTimeNV
IncomingRayFlagsKHR
RayGeometryIndexKHR
WarpsPerSMNV
SMCountNV
WarpIDNV
SMIDNV
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BuiltIn
impl UnwindSafe for BuiltIn
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.