RWByteAddressBuffer.InterlockedExchange64¶
Description¶
Perform a 64-bit integer atomic exchange operation at byteAddress.
Signature¶
void RWByteAddressBuffer.InterlockedExchange64( uint byteAddress, int64_t value); void RWByteAddressBuffer.InterlockedExchange64<T>( uint byteAddress, T value, out T outOriginalValue) where T : __BuiltinInt64Type;
Generic Parameters¶
T: __BuiltinInt64Type¶
Parameters¶
byteAddress : uint¶
The address at which to perform the atomic exchange operation.
value : int64_t¶
The operand for the exchange operation.
value : T¶
The operand for the exchange operation.
outOriginalValue : T¶
The original value at byteAddress before the exchange operation.
Availability and Requirements¶
Defined for the following targets:
hlsl¶
Available in all stages.
glsl¶
Available in all stages.
cuda¶
Available in all stages.
spirv¶
Available in all stages.
Requires capability: spvInt64Atomics.