Compute_pass.Encoder
Pass encoders.
The type for GPUComputePassEncoder
objects.
val set_pipeline : t -> Compute_pipeline.t -> unit
set_pipeline e p
sets the pipeline of e
to p
.
val set_bind_group :
?dynamic_offsets:int list ->
?group:Bind_group.t ->
t ->
index:int ->
unit
set_bind_group
sets a bind group for subsequent commands.
val set_bind_group' :
?group:Bind_group.t ->
t ->
index:int ->
dynamic_offsets:int array ->
offsets_start:int ->
offsets_length:int ->
unit
set_bind_group'
sets a bind group for subsequent commands.
val dispatch_workgroups :
?count_z:int ->
?count_y:int ->
t ->
count_x:int ->
unit
dispatch_workgroups
dispaches a grid of workgroups.
dispatch_workgroups_indirect
dispatches a grid of workgroups.