BlitShader¶
Overview¶
Shader for blitting things to a Canvas if needed
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class BlitShader¶
Constructor¶
new BlitShader( device : GPUDevice, format : GPUTextureFormat )¶
Instance Methods¶
dispatch( encoder : GPUCommandEncoder, outTextureView : GPUTextureView, sourceTextureView : GPUTextureView )¶
Instance Properties¶
module : GPUShaderModule¶
(readonly)
bindGroupLayout : GPUBindGroupLayout¶
(readonly)
pipeline : GPURenderPipeline¶
(readonly)
Source Code¶
See the source for BlitShader.ts in the alpenglow repository.