Enumeration

MTLLoadAction

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

Declaration

typedef enum MTLLoadAction : NSUInteger {
    ...
} MTLLoadAction;

Topics

Constants

MTLLoadActionDontCare

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

MTLLoadActionLoad

The existing contents of the texture are preserved.

MTLLoadActionClear

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