Package apple.metal.enums
Class MTLCommandBufferErrorOption
- java.lang.Object
-
- apple.metal.enums.MTLCommandBufferErrorOption
-
public final class MTLCommandBufferErrorOption extends java.lang.ObjectOptions for controlling the error reporting for Metal command buffer objects. [@constant] MTLCommandBufferErrorOptionNone No special error reporting. [@constant] MTLCommandBufferErrorOptionEncoderExecutionStatus Provide the execution status of the individual encoders within the command buffer. In the event of a command buffer error, populate the `userInfo` dictionary of the command buffer's NSError parameter, see MTLCommandBufferEncoderInfoErrorKey and MTLCommandBufferEncoderInfo. Note that enabling this error reporting option may increase CPU, GPU, and/or memory overhead on some platforms; testing for impact is suggested.
-
-
Field Summary
Fields Modifier and Type Field Description static longEncoderExecutionStatusstatic longNone
-
-
-
Field Detail
-
None
public static final long None
- See Also:
- Constant Field Values
-
EncoderExecutionStatus
public static final long EncoderExecutionStatus
- See Also:
- Constant Field Values
-
-