Instance Property

framebufferOnly

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

Declaration

@property(nonatomic) BOOL framebufferOnly;

Discussion

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

autoResizeDrawable

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

drawableSize

The current size of drawable textures.

presentsWithTransaction

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