Trait script::dom::bindings::codegen::Bindings::WebGPUBinding::GPUComputePassEncoder_Binding::GPUComputePassEncoderMethods
source · pub trait GPUComputePassEncoderMethods {
// Required methods
fn SetPipeline(&self, pipeline: &GPUComputePipeline);
fn DispatchWorkgroups(&self, x: u32, y: u32, z: u32);
fn DispatchWorkgroupsIndirect(
&self,
indirectBuffer: &GPUBuffer,
indirectOffset: u64,
);
fn End(&self);
fn Label(&self) -> USVString;
fn SetLabel(&self, value: USVString);
fn SetBindGroup(
&self,
index: u32,
bindGroup: &GPUBindGroup,
dynamicOffsets: Vec<u32>,
);
}