script::dom::bindings::codegen::GenericBindings::WebGPUBinding::GPUComputePassEncoder_Binding

Trait GPUComputePassEncoderMethods

Source
pub(crate) trait GPUComputePassEncoderMethods<D: DomTypes> {
    // Required methods
    fn SetPipeline(&self, pipeline: &D::GPUComputePipeline);
    fn DispatchWorkgroups(&self, x: u32, y: u32, z: u32);
    fn DispatchWorkgroupsIndirect(
        &self,
        indirectBuffer: &D::GPUBuffer,
        indirectOffset: u64,
    );
    fn End(&self);
    fn Label(&self) -> USVString;
    fn SetLabel(&self, value: USVString);
    fn SetBindGroup(
        &self,
        index: u32,
        bindGroup: &D::GPUBindGroup,
        dynamicOffsets: Vec<u32>,
    );
}

Required Methods§

Source

fn SetPipeline(&self, pipeline: &D::GPUComputePipeline)

Source

fn DispatchWorkgroups(&self, x: u32, y: u32, z: u32)

Source

fn DispatchWorkgroupsIndirect( &self, indirectBuffer: &D::GPUBuffer, indirectOffset: u64, )

Source

fn End(&self)

Source

fn Label(&self) -> USVString

Source

fn SetLabel(&self, value: USVString)

Source

fn SetBindGroup( &self, index: u32, bindGroup: &D::GPUBindGroup, dynamicOffsets: Vec<u32>, )

Implementors§