package brr

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.