Skip to main content

GPUCommandEncoderMethods

Trait GPUCommandEncoderMethods 

Source
pub(crate) trait GPUCommandEncoderMethods<D>
where D: DomTypes,
{ // Required methods fn BeginRenderPass( &self, descriptor: &GPURenderPassDescriptor<D>, ) -> Result<Root<Dom<<D as DomTypes>::GPURenderPassEncoder>>, Error>; fn BeginComputePass( &self, descriptor: &GPUComputePassDescriptor, ) -> Root<Dom<<D as DomTypes>::GPUComputePassEncoder>>; fn CopyBufferToBuffer( &self, source: &<D as DomTypes>::GPUBuffer, sourceOffset: u64, destination: &<D as DomTypes>::GPUBuffer, destinationOffset: u64, size: u64, ); fn CopyBufferToTexture( &self, source: &GPUTexelCopyBufferInfo<D>, destination: &GPUTexelCopyTextureInfo<D>, copySize: RangeEnforcedUnsignedLongSequenceOrGPUExtent3DDict, ) -> Result<(), Error>; fn CopyTextureToBuffer( &self, source: &GPUTexelCopyTextureInfo<D>, destination: &GPUTexelCopyBufferInfo<D>, copySize: RangeEnforcedUnsignedLongSequenceOrGPUExtent3DDict, ) -> Result<(), Error>; fn CopyTextureToTexture( &self, source: &GPUTexelCopyTextureInfo<D>, destination: &GPUTexelCopyTextureInfo<D>, copySize: RangeEnforcedUnsignedLongSequenceOrGPUExtent3DDict, ) -> Result<(), Error>; fn Finish( &self, descriptor: &GPUCommandBufferDescriptor, ) -> Root<Dom<<D as DomTypes>::GPUCommandBuffer>>; fn Label(&self) -> USVString; fn SetLabel(&self, value: USVString); }

Required Methods§

Implementors§