RenderPass constructor
RenderPass(
- dynamic scene,
- dynamic camera,
- Material? overrideMaterial,
- Color? clearColor,
- num? clearAlpha,
Implementation
RenderPass(scene, camera, this.overrideMaterial, this.clearColor, num? clearAlpha) : super() {
this.scene = scene;
this.camera = camera;
this.clearAlpha = clearAlpha ?? 0;
clear = true;
needsSwap = false;
}