package brr

  1. Overview
  2. Docs
Browser programming toolkit for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

brr-0.0.9.tbz
sha512=45cdf73c6a23c8fc4609a32ae2196d4790e5bdba34ca0b784bff9c0b70dab233eb336f1c11dc3002451042ff4cf25b643098ad0d011f14c3d6175842113bed21

doc/brr/Brr_webgpu/Gpu/Queue/index.html

Module Gpu.QueueSource

Queues.

Sourcemodule Descriptor : sig ... end

Descriptors.

Sourcetype t

The type for GPUQueue objects.

Sourceval label : t -> Jstr.t

label q is the label of q.

Sourceval submit : t -> Command.Buffer.t list -> unit

submit q bs submits buffers bs on q.

Sourceval on_submitted_work_done : t -> unit Fut.or_error

on_submitted_work_done q resovles when submitted work on q is done.

Sourceval write_buffer : ?src_offset:int -> ?size:int -> t -> dst:Buffer.t -> dst_offset:int -> src:('a, 'b) Brr.Tarray.t -> unit

write_buffer writes a buffer.

Sourceval write_texture : t -> dst:Image.Copy_texture.t -> src:('a, 'b) Brr.Tarray.t -> src_layout:Image.Data_layout.t -> size:Extent_3d.t -> unit

write_texture writes a texture.

Sourceval copy_external_image_to_texture : t -> src:Image.Copy_external_image.t -> dst:Image.Copy_texture_tagged.t -> size:Extent_3d.t -> unit

copy_external_image_to_texture copies an image to a texture.