Metal.IndirectCommandBuffer
A buffer containing pre-encoded commands that can be executed efficiently by the GPU. See MTLIndirectCommandBuffer.
val sexp_of_t : t -> Sexplib0.Sexp.t
val on_device_with_descriptor :
Device.t ->
IndirectCommandBufferDescriptor.t ->
max_command_count:int ->
options:ResourceOptions.t ->
t
Creates an indirect command buffer. See newIndirectCommandBufferWithDescriptor:maxCommandCount:options:.
val get_size : t -> int
val indirect_compute_command_at_index : t -> int -> IndirectComputeCommand.t