Class Engine

The engine is the big steward of all content.

Hierarchy

  • Engine

Constructors

Properties

_canvas: Canvas

The canvas corresponding to the engine.

_gl: WebGLRenderingContext

WebGL rendering context.

_requestId: number

Easy to destroy RAF.

_time: Time = ...

Used to calculate the interval between each frame rendering.

_whiteTexture2D: Texture2D

Rendered 2D texture when the image has not been loaded yet.

_whiteTextureCube: TextureCube

Rendered cube texture when the image has not been loaded yet.

activeScene: Scene

Current active scene.

Accessors

  • get gl(): WebGLRenderingContext
  • Returns WebGLRenderingContext

Methods

Generated using TypeDoc