Instance Property


A Boolean value that determines whether the drawable can be used for texture sampling or read/write operations.


@property(nonatomic) BOOL framebufferOnly;


If the value is YES (the default), the underlying CAMetalLayer object allocates its MTLTexture objects in ways that are optimized for display purposes. However, you may not sample, read from, or write to those textures. If the value is NO, you can sample or perform read/write operations on its textures (at a cost to performance).

See Also

Managing Your Render Target


A Boolean value that controls whether to resize the drawable as the view changes size.


The current size of drawable textures.


A Boolean value that determines whether the view presents its content using a Core Animation transaction.