pub enum WgslIntrinsic {
Show 51 variants
LocalInvocationIdX,
LocalInvocationIdY,
LocalInvocationIdZ,
WorkgroupIdX,
WorkgroupIdY,
WorkgroupIdZ,
GlobalInvocationIdX,
GlobalInvocationIdY,
GlobalInvocationIdZ,
NumWorkgroupsX,
NumWorkgroupsY,
NumWorkgroupsZ,
WorkgroupSizeX,
WorkgroupSizeY,
WorkgroupSizeZ,
WorkgroupBarrier,
StorageBarrier,
AtomicAdd,
AtomicSub,
AtomicMin,
AtomicMax,
AtomicExchange,
AtomicCompareExchangeWeak,
AtomicLoad,
AtomicStore,
Sqrt,
InverseSqrt,
Abs,
Floor,
Ceil,
Round,
Sin,
Cos,
Tan,
Exp,
Log,
Pow,
Min,
Max,
Clamp,
Fma,
Mix,
SubgroupShuffle,
SubgroupShuffleUp,
SubgroupShuffleDown,
SubgroupShuffleXor,
SubgroupBallot,
SubgroupAll,
SubgroupAny,
SubgroupInvocationId,
SubgroupSize,
}Expand description
WGSL intrinsic operations.
Variants§
LocalInvocationIdX
LocalInvocationIdY
LocalInvocationIdZ
WorkgroupIdX
WorkgroupIdY
WorkgroupIdZ
GlobalInvocationIdX
GlobalInvocationIdY
GlobalInvocationIdZ
NumWorkgroupsX
NumWorkgroupsY
NumWorkgroupsZ
WorkgroupSizeX
WorkgroupSizeY
WorkgroupSizeZ
WorkgroupBarrier
StorageBarrier
AtomicAdd
AtomicSub
AtomicMin
AtomicMax
AtomicExchange
AtomicCompareExchangeWeak
AtomicLoad
AtomicStore
Sqrt
InverseSqrt
Abs
Floor
Ceil
Round
Sin
Cos
Tan
Exp
Log
Pow
Min
Max
Clamp
Fma
Mix
SubgroupShuffle
SubgroupShuffleUp
SubgroupShuffleDown
SubgroupShuffleXor
SubgroupBallot
SubgroupAll
SubgroupAny
SubgroupInvocationId
SubgroupSize
Implementations§
Source§impl WgslIntrinsic
impl WgslIntrinsic
Trait Implementations§
Source§impl Clone for WgslIntrinsic
impl Clone for WgslIntrinsic
Source§fn clone(&self) -> WgslIntrinsic
fn clone(&self) -> WgslIntrinsic
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WgslIntrinsic
impl Debug for WgslIntrinsic
Source§impl PartialEq for WgslIntrinsic
impl PartialEq for WgslIntrinsic
impl Copy for WgslIntrinsic
impl Eq for WgslIntrinsic
impl StructuralPartialEq for WgslIntrinsic
Auto Trait Implementations§
impl Freeze for WgslIntrinsic
impl RefUnwindSafe for WgslIntrinsic
impl Send for WgslIntrinsic
impl Sync for WgslIntrinsic
impl Unpin for WgslIntrinsic
impl UnwindSafe for WgslIntrinsic
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)