Class RenderTargetAbstract

Render target is a frame buffer or a texture that the render system renders the scene to.

Sim thread unless noted otherwise. Retrieve core implementation from GetCore() for core thread only functionality.

Hierarchy (view full)

Constructors

  • Parameters

    • OptionalisInternalConstructor: boolean

    Returns RenderTarget

Accessors

  • get gammaCorrection(): boolean
  • Returns boolean

  • get height(): number
  • Height of the render target, in pixels.

    Returns number

  • get priority(): number
  • Controls in what order is the render target rendered to compared to other render targets. Targets with higher priority will be rendered before ones with lower priority.

    Returns number

  • set priority(value): void
  • Parameters

    • value: number

    Returns void

  • get sampleCount(): number
  • Controls how many samples are used for multisampling. (0 or 1 if multisampling is not used).

    Returns number

  • get width(): number
  • Width of the render target, in pixels.

    Returns number