render method
dynamic
render(})
override
Implementation
@override
render(renderer, writeBuffer, readBuffer, {num? deltaTime, bool? maskActive}) {
var oldAutoClear = renderer.autoClear;
renderer.autoClear = false;
fsQuad.material = material;
uniforms['opacity']["value"] = opacity;
uniforms['tDiffuse']["value"] = map;
material.transparent = (opacity < 1.0);
renderer.setRenderTarget(renderToScreen ? null : readBuffer);
if (clear) renderer.clear(true, true, true);
fsQuad.render(renderer);
renderer.autoClear = oldAutoClear;
}