Module Metal.CommandQueueDescriptor

Configuration for creating command queues. See MTLCommandQueueDescriptor.

type t

Configuration for creating a command queue. See MTLCommandQueueDescriptor.

val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t

Creates a new command queue descriptor with default values.

val set_max_command_buffer_count : t -> int -> unit

Sets the maximum number of uncompleted command buffers allowed in the queue.

val get_max_command_buffer_count : t -> int

Gets the maximum number of uncompleted command buffers allowed in the queue.

val set_log_state : t -> LogState.t option -> unit

Sets the log state object for the command queue (nullable).

val get_log_state : t -> LogState.t option

Gets the log state object for the command queue (nullable).