Zia.GraphicsDevice Class

Main class in Zia. Manages the WebGL rendering context and associated state, and performs rendering.

Constructor

Name Description
GraphicsDevice

Constructs a new GraphicsDevice object.


Constructor

new Zia.GraphicsDevice (canvas) constructor

Defined in graphics/GraphicsDevice.js:28

Constructs a new GraphicsDevice object.

Parameters

Name Type Description
canvas HTMLCanvasElement

The canvas element.