Interface IRenderManager<E, ET>

interface IRenderManager<E, ET> {
    clock: Clock;
    composer: EffectComposer2;
    composerTarget: IRenderTarget;
    context: WebGLRenderingContext;
    frameCount: number;
    isWebGL2: boolean;
    maxTempPerKey: 5;
    needsRender: boolean;
    passes: IPipelinePass<string>[];
    pipeline: string[];
    renderScale: number;
    renderSize: Vector2;
    renderer: IWebGLRenderer<IRenderManager<IRenderManagerEvent, IRenderManagerEventTypes>>;
    totalFrameCount: number;
    useLegacyLights: boolean;
    webglRenderer: WebGLRenderer;
    _createTargetClass(clazz, size, options): IRenderTarget;
    _processNewTarget(target, sizeMultiplier, trackTarget): IRenderTarget;
    blit(destination, options?): void;
    clearColor(__namedParameters): void;
    createTarget<T>(__namedParameters?, trackTarget?): T;
    createTargetCustom<T>(__namedParameters, options?, clazz?): T;
    dispose(clear?): void;
    disposeTarget(target, remove?): void;
    exportRenderTarget(target, mimeType?): BlobExt;
    getTempTarget<T>(op?): T;
    rebuildPipeline(setDirty?): void;
    refreshPasses(): void;
    registerPass(pass, replaceId?): void;
    releaseTempTarget(target): void;
    removeTrackedTarget(target): void;
    render(scene): void;
    renderTargetToBuffer(target): Uint8Array | Uint16Array | Float32Array;
    renderTargetToDataUrl(target, mimeType?, quality?): string;
    reset(): void;
    resetShadows(): void;
    resizeTrackedTarget(target): void;
    resizeTrackedTargets(): void;
    setSize(width, height): void;
    trackTarget(target): void;
    unregisterPass(pass): void;
    updateShaderProperties(material): this;
}

Type Parameters

Hierarchy (view full)

Implemented by

Properties

clock: Clock
composer: EffectComposer2
composerTarget: IRenderTarget
context: WebGLRenderingContext
frameCount: number
isWebGL2: boolean
maxTempPerKey: 5 = 5
needsRender: boolean
passes: IPipelinePass<string>[]
pipeline: string[]
renderScale: number
renderSize: Vector2
totalFrameCount: number
useLegacyLights: boolean
webglRenderer: WebGLRenderer

Methods

  • Parameters

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

    Returns void

Generated using TypeDoc