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