shaderAtomic
An option that enables atomic memory operations on texture elements in shader code.
Declaration
static var shaderAtomic: MTLTextureUsage { get }Discussion
Shaders can run atomic memory operations on textures with specific element type and pixel format combinations:
Shader element type | Pixel format |
|---|---|
| |
| |
|