Instance Method



func releaseDrawables()


Your application calls this method to release the texture objects in order to conserve memory when the application goes into the background.

The drawable texture objects consume a large amount of memory, so call this method whenever the view is not going to be used to display content for a significant period of time.

See Also

Managing Your Render Target

var autoResizeDrawable: Bool

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

var drawableSize: CGSize

The current size of drawable textures.

var framebufferOnly: Bool

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

var presentsWithTransaction: Bool

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