A Boolean value indicating whether the GPU is allowed to adjust the texture's contents to improve GPU performance.
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
The default value is
true, which means that the Metal device is allowed to adjust the private layout of the texture in memory to improve GPU performance. For a shared or managed texture, this optimization can cause slower performance when accessing the texture from the CPU. Setting this property to
false improves CPU performance at the cost of some GPU performance.