Module Metal.BlitCommandEncoder

Encodes resource copy and synchronization commands. See MTLBlitCommandEncoder.

type t
val sexp_of_t : t -> Sexplib0.Sexp.t
val set_label : t -> string -> unit
val get_label : t -> string
val get_device : t -> Device.t
val end_encoding : t -> unit
val insert_debug_signpost : t -> string -> unit
val push_debug_group : t -> string -> unit
val pop_debug_group : t -> unit
val on_buffer : CommandBuffer.t -> t
val copy_from_buffer : t -> source_buffer:Buffer.t -> source_offset:int -> destination_buffer:Buffer.t -> destination_offset:int -> size:int -> unit
val fill_buffer : t -> Buffer.t -> Range.t -> value:int -> unit

Fills a buffer range with a byte value (0-255).

val synchronize_resource : t -> Resource.t -> unit

Synchronizes a managed resource between CPU and GPU.

val update_fence : t -> Fence.t -> unit
val wait_for_fence : t -> Fence.t -> unit