Contents

pixelFormat

The pixel format of the layer’s textures.

Declaration

var pixelFormat: MTLPixelFormat { get set }

Discussion

The default value is MTLPixelFormat.bgra8Unorm.

You must use one of the following formats:

See Also

Configuring the Layer’s Drawable Objects