@bloopjs/toodle / backends/webgpu/postprocess/mod / PostProcess
Type Alias: PostProcess
PostProcess =
object
Defined in: backends/webgpu/postprocess/mod.ts:1
Methods
process()
process(
queue,encoder,pingpong,screen):void
Defined in: backends/webgpu/postprocess/mod.ts:9
A post-processor modifies the current render before it is presented to the screen.
Parameters
queue
GPUQueue
encoder
GPUCommandEncoder
a GPUCommandEncoder used to create render passes
pingpong
[GPUTexture, GPUTexture]
a pair of GPUTextures used for ping-pong rendering
screen
GPUTexture
the final screen GPUTexture to render to
Returns
void