A Boolean value that indicates whether the command buffer maintains strong references to associated resource objects (textures, buffers) necessary to complete execution of any encoded commands.
Required.
SDKs
- iOS 8.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Metal
Declaration
@property(readonly) BOOL retainedReferences;
Discussion
If NO
, you must guarantee that your app keeps strong references to all objects referenced by the command buffer until its commands have finished executing. If an object is released before the buffer's commands are executed, the results are undefined.