Contents

makeIndirectCommandBuffer(descriptor:maxCommandCount:options:)

Creates an indirect command buffer instance.

Declaration

func makeIndirectCommandBuffer(descriptor: MTLIndirectCommandBufferDescriptor, maxCommandCount maxCount: Int, options: MTLResourceOptions = []) -> (any MTLIndirectCommandBuffer)?

Parameters

Mentioned in

Return Value

A new MTLIndirectCommandBuffer instance if the method completed successfully; otherwise nil.