Enum spirv::StorageClass
source · #[repr(u32)]pub enum StorageClass {
Show 28 variants
UniformConstant = 0,
Input = 1,
Uniform = 2,
Output = 3,
Workgroup = 4,
CrossWorkgroup = 5,
Private = 6,
Function = 7,
Generic = 8,
PushConstant = 9,
AtomicCounter = 10,
Image = 11,
StorageBuffer = 12,
TileImageEXT = 4_172,
NodePayloadAMDX = 5_068,
NodeOutputPayloadAMDX = 5_076,
CallableDataNV = 5_328,
IncomingCallableDataNV = 5_329,
RayPayloadNV = 5_338,
HitAttributeNV = 5_339,
IncomingRayPayloadNV = 5_342,
ShaderRecordBufferNV = 5_343,
PhysicalStorageBuffer = 5_349,
HitObjectAttributeNV = 5_385,
TaskPayloadWorkgroupEXT = 5_402,
CodeSectionINTEL = 5_605,
DeviceOnlyINTEL = 5_936,
HostOnlyINTEL = 5_937,
}
Expand description
SPIR-V operand kind: StorageClass
Variants§
UniformConstant = 0
Input = 1
Uniform = 2
Output = 3
Workgroup = 4
CrossWorkgroup = 5
Private = 6
Function = 7
Generic = 8
PushConstant = 9
AtomicCounter = 10
Image = 11
StorageBuffer = 12
TileImageEXT = 4_172
NodePayloadAMDX = 5_068
NodeOutputPayloadAMDX = 5_076
CallableDataNV = 5_328
IncomingCallableDataNV = 5_329
RayPayloadNV = 5_338
HitAttributeNV = 5_339
IncomingRayPayloadNV = 5_342
ShaderRecordBufferNV = 5_343
PhysicalStorageBuffer = 5_349
HitObjectAttributeNV = 5_385
TaskPayloadWorkgroupEXT = 5_402
CodeSectionINTEL = 5_605
DeviceOnlyINTEL = 5_936
HostOnlyINTEL = 5_937
Implementations§
source§impl StorageClass
impl StorageClass
pub const CallableDataKHR: Self = Self::CallableDataNV
pub const IncomingCallableDataKHR: Self = Self::IncomingCallableDataNV
pub const RayPayloadKHR: Self = Self::RayPayloadNV
pub const HitAttributeKHR: Self = Self::HitAttributeNV
pub const IncomingRayPayloadKHR: Self = Self::IncomingRayPayloadNV
pub const ShaderRecordBufferKHR: Self = Self::ShaderRecordBufferNV
pub const PhysicalStorageBufferEXT: Self = Self::PhysicalStorageBuffer
Trait Implementations§
source§impl Clone for StorageClass
impl Clone for StorageClass
source§fn clone(&self) -> StorageClass
fn clone(&self) -> StorageClass
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 StorageClass
impl Debug for StorageClass
source§impl FromStr for StorageClass
impl FromStr for StorageClass
source§impl Hash for StorageClass
impl Hash for StorageClass
source§impl Ord for StorageClass
impl Ord for StorageClass
source§fn cmp(&self, other: &StorageClass) -> Ordering
fn cmp(&self, other: &StorageClass) -> 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 StorageClass
impl PartialEq for StorageClass
source§impl PartialOrd for StorageClass
impl PartialOrd for StorageClass
impl Copy for StorageClass
impl Eq for StorageClass
impl StructuralPartialEq for StorageClass
Auto Trait Implementations§
impl Freeze for StorageClass
impl RefUnwindSafe for StorageClass
impl Send for StorageClass
impl Sync for StorageClass
impl Unpin for StorageClass
impl UnwindSafe for StorageClass
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
)