Enumeration

MTLLoadAction

The action performed at the start of a rendering pass for a render command encoder.

Declaration

enum MTLLoadAction : UInt

Topics

Constants

case dontCare

Each pixel in the attachment is allowed to take on any value at the start of the rendering pass.

case load

The existing contents of the texture are preserved.

case clear

A value is written to every pixel in the specified attachment.

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