A RenderTarget is a texture which we can draw things into.

This class represents two kind of them:

  1. Main Render Target
  2. Texture Render Target

For both it provides the projection matrix (+camera) and other information required to be used by high level code (like the targets size in pixel).

(1) always exists and is defined by the browser.

(2) is created by high level code and surfes as a RenderToTexture manager. We can render stuff into it and then use the attached texture to render that stuff into another RT.

Hierarchy

Implements

Constructors

Properties

_frameBuffer: WebGLFramebuffer
_height: number
_texHeight: number
_texWidth: number
_texture: WebGLTexture
_width: number
projection: Float32Array = ...

Accessors

Methods

Generated using TypeDoc