metal.commandbuffer

Undocumented in source.

Members

Aliases

MTLCommandBufferHandler
alias MTLCommandBufferHandler = void function(MTLCommandBuffer)

A completion handler signature a GPU device calls when it finishes scheduling a command buffer, or when the GPU finishes running it.

Classes

MTLBlitPassDescriptor
class MTLBlitPassDescriptor

A configuration you create to customize a blit command encoder, which affects the runtime behavior of the blit pass you encode with it.

MTLCommandBufferDescriptor
class MTLCommandBufferDescriptor

A configuration that customizes the behavior for a new command buffer.

Enums

MTLCommandBufferError
enum MTLCommandBufferError

Error codes that indicate why a command buffer is unable to finish its execution.

MTLCommandBufferErrorOption
enum MTLCommandBufferErrorOption

Options for reporting errors from a command buffer.

MTLCommandBufferStatus
enum MTLCommandBufferStatus

The discrete states for a command buffer that represent its life cycle stages.

MTLCommandEncoderErrorState
enum MTLCommandEncoderErrorState

Possible error conditions for the command encoder’s commands.

MTLFunctionLogType
enum MTLFunctionLogType

Options for different kinds of function logs.

Interfaces

MTLCommandBuffer
interface MTLCommandBuffer

A container that stores a sequence of GPU commands that you encode into it.

MTLCommandBufferEncoderInfo
interface MTLCommandBufferEncoderInfo

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

MTLFunctionLog
interface MTLFunctionLog

A log entry a Metal device generates when the it runs a command buffer.

MTLFunctionLogDebugLocation
interface MTLFunctionLogDebugLocation

The source code that logged a debug message.

MTLLogContainer
interface MTLLogContainer

A collection of logged messages, created when a Metal device runs a command buffer.

Meta