Instance Property

autoResizeDrawable

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

Declaration

@property(nonatomic) BOOL autoResizeDrawable;

Discussion

If the value is YES, the currentDrawable object’s texture, depthStencilTexture object, and multisampleColorTexture object automatically resize as the view resizes. If the value is NO, drawableSize does not change and neither does the size of these objects.

The default value is YES.

See Also

Managing Your Render Target

drawableSize

The current size of drawable textures.

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.