Metal.CommandQueue
A queue for submitting command buffers to a device. See MTLCommandQueue.
val sexp_of_t : t -> Sexplib0.Sexp.t
Creates a command queue with a specific maximum number of uncompleted command buffers.
val on_device_with_descriptor : Device.t -> CommandQueueDescriptor.t -> t
Creates a command queue using the specified descriptor. See newCommandQueueWithDescriptor:.
The returned OCaml value will ensure that any OCaml objects referenced by the descriptor's lifetime (e.g., for log handlers) are kept alive as long as this command queue value is alive.
val set_label : t -> string -> unit
val get_label : t -> string