Contents

depthAttachmentPixelFormat

The pixel format of the attachment that stores depth data.

Declaration

var depthAttachmentPixelFormat: MTLPixelFormat { get set }

Discussion

By default, the pixel format of the rendering pipeline state for each attachment is MTLPixelFormatInvalid.

See Also

Specifying rendering pipeline state