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.