Contents

depthAttachmentPixelFormat

The pixel format of the depth attachment in the render pass the renderer encodes into.

Declaration

var depthAttachmentPixelFormat: MTLPixelFormat { get }

Discussion

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

See Also

Configuring pixel formats