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