Class RenderTargetManager<E, ET>Abstract

Type Parameters

Hierarchy (view full)

Constructors

Properties

_releasedTempTargets: Record<string, IRenderTarget[]> = {}
_trackedTargets: IRenderTarget[] = []
_trackedTempTargets: IRenderTarget[] = []
isWebGL2: boolean
maxTempPerKey: 5 = 5
renderScale: number
renderSize: Vector2

Methods

  • Dispose and remove tracked target. Release target in-case of temporary target. To just dispose from the GPU memory and keep reference, call target.dispose() or target.dispose(false)

    Parameters

    Returns void

  • Resizes all tracked targets with a sizeMultiplier based on the current renderSize and renderScale. This must be automatically called by the renderer on resize, and manually when sizeMultiplier of a target changes.

    Returns void

Generated using TypeDoc