Contents

depthPixelFormat

The pixel format of the depth attachment, or nil to omit depth.

Declaration

var depthPixelFormat: MTLPixelFormat? { get set }

Discussion

Corresponds to MTLRenderPassDepthAttachmentDescriptor.texture.pixelFormat.

See Also

Specifying pixel formats