jon.recoil.org

Module Gpu.Canvas_context

GPU canvas contexts.

module Alpha_mode : sig ... end

Texture alpha modes.

type t

The type for GPUCanvasContext objects.

get cnv is gets a GPU canvas context from cnv.

get_current_texture ctx is the current texture of ctx.

Configuring

type conf

configure ctx conf configures context ctx with conf.

val unconfigure : Brr_webgpu.Gpu.Canvas_context.t -> unit

unconfigure ctx conf unconfigures context ctx.