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 view automatically resizes its underlying color, depth, stencil, and multisample textures when the view is resized. If the value is NO, you must explicitly set drawableSize to change the size of these objects.

The default value is YES.

See Also

Configuring the Color Render Target

colorPixelFormat

The color pixel format for the current drawable’s texture.

colorspace

The color space of the rendered content.

framebufferOnly

A Boolean value that determines whether the drawable’s textures are used only for rendering.

drawableSize

The current size of drawable textures.

preferredDrawableSize

The recommended dimensions of the drawable.

clearColor

The color to use to clear the color target when creating a render pass descriptor.