RenderPass constructor

RenderPass(
  1. dynamic scene,
  2. dynamic camera,
  3. Material? overrideMaterial,
  4. Color? clearColor,
  5. 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;
}