Struct spirv_cross_sys::SpvBuiltIn
source · #[repr(transparent)]pub struct SpvBuiltIn(pub i32);Tuple Fields§
§0: i32Implementations§
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const Position: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PointSize: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ClipDistance: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const CullDistance: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const VertexId: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const InstanceId: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PrimitiveId: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const InvocationId: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const Layer: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ViewportIndex: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const TessLevelOuter: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const TessLevelInner: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const TessCoord: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PatchVertices: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const FragCoord: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PointCoord: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const FrontFacing: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SampleId: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SamplePosition: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SampleMask: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const FragDepth: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const HelperInvocation: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const NumWorkgroups: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WorkgroupSize: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WorkgroupId: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const LocalInvocationId: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const GlobalInvocationId: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const LocalInvocationIndex: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WorkDim: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const GlobalSize: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const EnqueuedWorkgroupSize: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const GlobalOffset: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const GlobalLinearId: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupSize: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupMaxSize: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const NumSubgroups: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const NumEnqueuedSubgroups: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupId: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupLocalInvocationId: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const VertexIndex: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const InstanceIndex: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupEqMask: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupEqMaskKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupGeMask: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupGeMaskKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupGtMask: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupGtMaskKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupLeMask: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupLeMaskKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupLtMask: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupLtMaskKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaseVertex: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaseInstance: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const DrawIndex: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PrimitiveShadingRateKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const DeviceIndex: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ViewIndex: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ShadingRateKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordNoPerspAMD: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordNoPerspCentroidAMD: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordNoPerspSampleAMD: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordSmoothAMD: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordSmoothCentroidAMD: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordSmoothSampleAMD: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordPullModelAMD: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const FragStencilRefEXT: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ViewportMaskNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SecondaryPositionNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SecondaryViewportMaskNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PositionPerViewNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ViewportMaskPerViewNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const FullyCoveredEXT: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const TaskCountNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PrimitiveCountNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PrimitiveIndicesNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ClipDistancePerViewNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const CullDistancePerViewNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const LayerPerViewNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const MeshViewCountNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const MeshViewIndicesNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordNoPerspKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordNoPerspNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const FragSizeEXT: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const FragmentSizeNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const FragInvocationCountEXT: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const InvocationsPerPixelNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PrimitivePointIndicesEXT: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PrimitiveLineIndicesEXT: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PrimitiveTriangleIndicesEXT: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const CullPrimitiveEXT: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const LaunchIdKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const LaunchIdNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const LaunchSizeKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const LaunchSizeNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WorldRayOriginKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WorldRayOriginNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WorldRayDirectionKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WorldRayDirectionNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ObjectRayOriginKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ObjectRayOriginNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ObjectRayDirectionKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ObjectRayDirectionNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const RayTminKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const RayTminNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const RayTmaxKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const RayTmaxNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const InstanceCustomIndexKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const InstanceCustomIndexNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ObjectToWorldKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ObjectToWorldNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WorldToObjectKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WorldToObjectNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const HitTNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const HitKindKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const HitKindNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const CurrentRayTimeNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const IncomingRayFlagsKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const IncomingRayFlagsNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const RayGeometryIndexKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WarpsPerSMNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SMCountNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WarpIDNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SMIDNV: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const CullMaskKHR: SpvBuiltIn = _
source§impl SpvBuiltIn
impl SpvBuiltIn
pub const Max: SpvBuiltIn = _
Trait Implementations§
source§impl Clone for SpvBuiltIn
impl Clone for SpvBuiltIn
source§fn clone(&self) -> SpvBuiltIn
fn clone(&self) -> SpvBuiltIn
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 SpvBuiltIn
impl Debug for SpvBuiltIn
source§impl FromPrimitive for SpvBuiltIn
impl FromPrimitive for SpvBuiltIn
source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moresource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moresource§impl Hash for SpvBuiltIn
impl Hash for SpvBuiltIn
source§impl PartialEq for SpvBuiltIn
impl PartialEq for SpvBuiltIn
source§impl ToPrimitive for SpvBuiltIn
impl ToPrimitive for SpvBuiltIn
source§fn to_i64(&self) -> Option<i64>
fn to_i64(&self) -> Option<i64>
Converts the value of
self to an i64. If the value cannot be
represented by an i64, then None is returned.source§fn to_u64(&self) -> Option<u64>
fn to_u64(&self) -> Option<u64>
Converts the value of
self to a u64. If the value cannot be
represented by a u64, then None is returned.source§fn to_isize(&self) -> Option<isize>
fn to_isize(&self) -> Option<isize>
Converts the value of
self to an isize. If the value cannot be
represented by an isize, then None is returned.source§fn to_i8(&self) -> Option<i8>
fn to_i8(&self) -> Option<i8>
Converts the value of
self to an i8. If the value cannot be
represented by an i8, then None is returned.source§fn to_i16(&self) -> Option<i16>
fn to_i16(&self) -> Option<i16>
Converts the value of
self to an i16. If the value cannot be
represented by an i16, then None is returned.source§fn to_i32(&self) -> Option<i32>
fn to_i32(&self) -> Option<i32>
Converts the value of
self to an i32. If the value cannot be
represented by an i32, then None is returned.source§fn to_i128(&self) -> Option<i128>
fn to_i128(&self) -> Option<i128>
Converts the value of
self to an i128. If the value cannot be
represented by an i128 (i64 under the default implementation), then
None is returned. Read moresource§fn to_usize(&self) -> Option<usize>
fn to_usize(&self) -> Option<usize>
Converts the value of
self to a usize. If the value cannot be
represented by a usize, then None is returned.source§fn to_u8(&self) -> Option<u8>
fn to_u8(&self) -> Option<u8>
Converts the value of
self to a u8. If the value cannot be
represented by a u8, then None is returned.source§fn to_u16(&self) -> Option<u16>
fn to_u16(&self) -> Option<u16>
Converts the value of
self to a u16. If the value cannot be
represented by a u16, then None is returned.source§fn to_u32(&self) -> Option<u32>
fn to_u32(&self) -> Option<u32>
Converts the value of
self to a u32. If the value cannot be
represented by a u32, then None is returned.source§fn to_u128(&self) -> Option<u128>
fn to_u128(&self) -> Option<u128>
Converts the value of
self to a u128. If the value cannot be
represented by a u128 (u64 under the default implementation), then
None is returned. Read moreimpl Copy for SpvBuiltIn
impl Eq for SpvBuiltIn
impl StructuralPartialEq for SpvBuiltIn
Auto Trait Implementations§
impl Freeze for SpvBuiltIn
impl RefUnwindSafe for SpvBuiltIn
impl Send for SpvBuiltIn
impl Sync for SpvBuiltIn
impl Unpin for SpvBuiltIn
impl UnwindSafe for SpvBuiltIn
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)