render method
dynamic
render(})
override
Implementation
render(renderer, writeBuffer, readBuffer,
{num? deltaTime, bool? maskActive}) {
this.uniforms['tDiffuse']["value"] = readBuffer.texture;
this.uniforms['tSize']["value"].set(readBuffer.width, readBuffer.height);
if (this.renderToScreen) {
renderer.setRenderTarget(null);
this.fsQuad.render(renderer);
} else {
renderer.setRenderTarget(writeBuffer);
if (this.clear) renderer.clear();
this.fsQuad.render(renderer);
}
}