Instance Property

stencilAttachmentPixelFormat

The pixel format of the attachment that stores stencil data.

Declaration

var stencilAttachmentPixelFormat: 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 depthAttachmentPixelFormat: MTLPixelFormat

The pixel format of the attachment that stores depth data.

class MTLRenderPipelineColorAttachmentDescriptor

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