A Boolean value that indicates whether the texture can only be used as a render target.
- iOS 8.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
The default is
NO, which indicates the use of the texture is not restricted.
get can be used with this texture. Also, this texture can only be used as an attachment for
MTLRender and cannot be a texture argument for
Textures obtained from a
CAMetal object may only be usable as attachments, depending on the value of
framebuffer passed to their parent
CAMetal object. Textures created directly by the app do not have such restrictions.