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