Skip to main content

GPUComputePassEncoderMethods

Trait GPUComputePassEncoderMethods 

Source
pub trait GPUComputePassEncoderMethods<D: DomTypes> {
    // Required methods
    fn SetPipeline(&self, pipeline: &D::GPUComputePipeline);
    fn DispatchWorkgroups(
        &self,
        workgroupCountX: u32,
        workgroupCountY: u32,
        workgroupCountZ: u32,
    );
    fn DispatchWorkgroupsIndirect(
        &self,
        indirectBuffer: &D::GPUBuffer,
        indirectOffset: u64,
    );
    fn End(&self);
    fn SetBindGroup(
        &self,
        index: u32,
        bindGroup: &D::GPUBindGroup,
        dynamicOffsets: Vec<u32>,
    );
    fn PushDebugGroup(&self, groupLabel: USVString);
    fn PopDebugGroup(&self);
    fn InsertDebugMarker(&self, markerLabel: USVString);
    fn Label(&self) -> USVString;
    fn SetLabel(&self, value: USVString);
}

Required Methods§

Source

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

Source

fn DispatchWorkgroups( &self, workgroupCountX: u32, workgroupCountY: u32, workgroupCountZ: u32, )

Source

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

Source

fn End(&self)

Source

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

Source

fn PushDebugGroup(&self, groupLabel: USVString)

Source

fn PopDebugGroup(&self)

Source

fn InsertDebugMarker(&self, markerLabel: USVString)

Source

fn Label(&self) -> USVString

Source

fn SetLabel(&self, value: USVString)

Implementors§