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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software