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>,
    );
}

Required Methods§

source

fn SetPipeline(&self, pipeline: &GPUComputePipeline)

source

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

source

fn DispatchWorkgroupsIndirect( &self, indirectBuffer: &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: &GPUBindGroup, dynamicOffsets: Vec<u32>, )

Implementors§