Instance Property

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

func reset()

Specifies the default rendering pipeline state values for the descriptor.

var colorAttachments: MTLRenderPipelineColorAttachmentDescriptorArray

An array of attachments that store color data.

var stencilAttachmentPixelFormat: MTLPixelFormat

The pixel format of the attachment that stores stencil data.

class MTLRenderPipelineColorAttachmentDescriptor

A color render target that specifies the color configuration and color operations associated with a render pipeline.