Contents

MTLCommandBufferEncoderInfo

A container that provides additional information about a runtime failure a GPU encounters as it runs the commands in a command buffer.

Declaration

protocol MTLCommandBufferEncoderInfo : NSObjectProtocol

Overview

To create a command buffer that generates additional information (when a GPU encounters an error running it), configure an MTLCommandBufferDescriptor instance’s errorOptions property. For information about how to retrieve the information from an MTLCommandBuffer instance, see its error property.

Topics

Inspecting execution information

See Also

Getting error details