Contents

colorAttachmentPixelFormats

The pixel formats of the color attachments in the render pass the renderer encodes into.

Declaration

var colorAttachmentPixelFormats: [MTLPixelFormat] { get }

Discussion

Use these formats when compiling your own MTLRenderPipelineState objects for draw calls issued inside the render(using:_:) callback.

See Also

Configuring pixel formats