Instance Property

drawableSize

The current size of drawable textures.

Declaration

@property(nonatomic) CGSize drawableSize;

Discussion

The size of the currentDrawable object’s texture, depthStencilTexture, and multisampleColorTexture. If autoResizeDrawable is enabled, this value is updated whenever the view’s size changes. If autoResizeDrawable is disabled, set this value to fix the size of the texture objects.

The default value is derived from the current view’s size, in native pixels.

See Also

Managing Your Render Target

autoResizeDrawable

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

framebufferOnly

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

presentsWithTransaction

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