Instance Property

drawableSize

The size, in pixels, of textures for rendering layer content.

Declaration

@property CGSize drawableSize;

Discussion

By default, a layer creates textures sized to match its content—that is, this property’s value is the layer’s bounds size multiplied by its contentsScale factor.

See Also

Configuring the Layer's Drawable Objects

pixelFormat

The pixel format of the layer’s textures.

colorspace

The color space of the rendered content.

framebufferOnly

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