MTLCommandEncoder

An encoder that writes GPU commands into a command buffer.

Members

Functions

device
MTLDevice device()

The Metal device from which the command encoder was created.

endEncoding
void endEncoding()

Declares that all command generation from the encoder is completed.

insertDebugSignpost
void insertDebugSignpost(NSString )

Inserts a debug string into the captured frame data.

label
NSString label()

A string that labels the command encoder.

label
NSString label(NSString )
Undocumented in source.
popDebugGroup
void popDebugGroup()

Pops the latest string off of a stack of debug group strings for the command encoder.

pushDebugGroup
void pushDebugGroup(NSString )

Pushes a specific string onto a stack of debug group strings for the command encoder.

Meta