Private
passesReadonly
targetThe texture the mipmaps will be written to by this SPDPass, once SPDPass.encode is called.
Returns the number of passes that will be encoded by calling this instance's SPDPass.encode method.
Encodes the configured mipmap generation pass(es) with the given GPUComputePassEncoder.
All bind groups indices used by SPDPass are reset to null
to prevent unintentional bindings of internal bind groups for subsequent pipelines encoded in the same GPUComputePassEncoder.
The GPUComputePassEncoder to encode this mipmap generation pass with.
The computePassEncoder
A compute pass for downsampling a texture.