The resource can be accessed only by the GPU.
SDKs
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Metal
Declaration
case `private` = 2
Discussion
Resource coherency between the CPU and GPU is not necessary because the CPU can’t access the contents of the resource. Metal may apply additional optimizations to private resources that are not allowed on shared or managed resources.
For more guidance on how to choose storage modes, see Setting Resource Storage Modes.