Instance Property

retainedReferences

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.

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.

See Also