Metal.ComputeCommandEncoderEncodes compute commands. See MTLComputeCommandEncoder.
val sexp_of_t : t -> Sexplib0.Sexp.tval set_label : t -> string -> unitval get_label : t -> stringmodule DispatchType : sig ... endPossible ways to dispatch commands within an encoder. See MTLDispatchType.
val on_buffer : CommandBuffer.t -> tval on_buffer_with_dispatch_type : CommandBuffer.t -> DispatchType.t -> tval end_encoding : t -> unitval insert_debug_signpost : t -> string -> unitval push_debug_group : t -> string -> unitval pop_debug_group : t -> unitval set_compute_pipeline_state : t -> ComputePipelineState.t -> unitSets a buffer argument for the compute function.
Sets multiple buffer arguments. The offsets length must match the number of buffers.
val set_bytes : t -> bytes:unit Ctypes.ptr -> length:int -> index:int -> unitSets inline constant data as a buffer argument.
val set_threadgroup_memory_length : t -> length:int -> index:int -> unitSets the length of a threadgroup memory argument.
val dispatch_threadgroups : 
  t ->
  threadgroups_per_grid:Size.t ->
  threads_per_threadgroup:Size.t ->
  unitDispatches threadgroups for execution.
val use_resource : t -> Resource.t -> ResourceUsage.t -> unitDeclares that a resource will be used by the following commands.
val use_resources : t -> Resource.t list -> ResourceUsage.t -> unitDeclares that multiple resources will be used by the following commands.
val execute_commands_in_buffer : 
  t ->
  IndirectCommandBuffer.t ->
  Range.t ->
  unit