RenderPass constructor

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