WebGLLayer System

A collection of methods to handle webgl contexts.

Properties

Methods

Back to top

.context

This will return the context of the webgl canvas element.

Back to top

.attach()

public .attach(ent)
ent

The entity to add

Add an entity to the layer

Back to top

.detach()

public .detach(ent)
ent

The entity to remove

Removes an entity from the layer

Back to top

.dirty()

public .dirty(ent)
ent

The entity to mark as dirty

Add an entity to the list of DOM object to draw