Gpu.Canvas_contextSourceGPU canvas contexts.
Texture alpha modes.
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.
The type for context configuration objects.
val conf :
?usage:Texture.Usage.t ->
?view_formats:Texture.Format.t list ->
?color_space:Jstr.t ->
?alpha_mode:Alpha_mode.t ->
Device.t ->
Texture.Format.t ->
confconf constructs a context configuration object.
configure ctx conf configures context ctx with conf.
unconfigure ctx conf unconfigures context ctx.