commandBuffer
Returns the command buffer that is currently encoding commands.
Declaration
var commandBuffer: (any MTL4CommandBuffer)? { get }Discussion
This property may return undefined results if you call it after calling endEncoding().
Returns the command buffer that is currently encoding commands.
var commandBuffer: (any MTL4CommandBuffer)? { get }This property may return undefined results if you call it after calling endEncoding().