Class RenderManager<TEvent, TEventTypes>

Type Parameters

Hierarchy (View Summary)

Implements

Constructors

Properties

_dirty: boolean = true
autoBuildPipeline: boolean = true

Set autoBuildPipeline = false to be able to set the pipeline manually.

defaultRenderToScreen: boolean = true

Default value for renderToScreen in render

frameWaitTime: number = 0
maxTempPerKey: 5
shadowMap: WebGLShadowMap
shadowMapType: ShadowMapType
stableNoise: boolean = false

Use total frame count, if this is set to true, then frameCount won't be reset when the viewer is set to dirty. Which will generate different random numbers for each frame during postprocessing steps. With TAA set properly, this will give a smoother result.

POWER_PREFERENCE: "high-performance" | "low-power" | "default" = 'high-performance'

Accessors

Methods

  • Parameters

    • __namedParameters: {
          a?: number;
          b?: number;
          depth?: boolean;
          g?: number;
          r?: number;
          stencil?: boolean;
          target?: IRenderTarget;
          viewport?: Vector4;
      }

    Returns void