Module Metal.IndirectComputeCommand

Represents a command within an indirect command buffer specific to compute operations. See MTLIndirectComputeCommand.

type t
val sexp_of_t : t -> Sexplib0.Sexp.t
val set_compute_pipeline_state : t -> ComputePipelineState.t -> unit
val set_kernel_buffer : t -> ?offset:int -> index:int -> Buffer.t -> unit

Sets a buffer argument for the command.

val concurrent_dispatch_threadgroups : t -> threadgroups_per_grid:Size.t -> threads_per_threadgroup:Size.t -> unit

Specifies dispatch dimensions for the command.

val set_barrier : t -> unit