Contents

autoResizeDrawable

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

Declaration

var autoResizeDrawable: Bool { get set }

Discussion

If the value is true, the view automatically resizes its underlying color, depth, stencil, and multisample textures when the view is resized. If the value is false, you must explicitly set drawableSize to change the size of these objects.

The default value is true.

See Also

Configuring the Color Render Target