Instance Property

pixelFormat

The pixel format of textures for rendering layer content.

Declaration

@property MTLPixelFormat pixelFormat;

Discussion

See Also

Configuring the Metal Layer

framebufferOnly

A Boolean value that determines whether the layer’s textures are restricted for use as framebuffer attachments.

drawableSize

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

colorspace

The color space of the rendered content.

presentsWithTransaction

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

wantsExtendedDynamicRangeContent

Enables extended dynamic range values on the screen.

displaySyncEnabled

A Boolean value that determines whether the Metal layer and it's drawables are synchronized with the display's refresh rate.

allowsNextDrawableTimeout

A Boolean value that determines whether Metal drawables are allowed to time out or wait indefinitely.

maximumDrawableCount

An integer value that controls the number of Metal drawables in the resource pool managed by Core Animation.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software