DomLayer System

Collection of mostly private methods to represent entities using the DOM.

Properties

Methods

Back to top

._div

A div inside the #cr-stage div that holds all DOM entities.

Back to top

._render()

public .render()

When "RenderScene" is triggered, draws all DOM entities that have been flagged

See Also

Back to top

.attach()

public .attach(ent)
ent

The entity to add

Add an entity to the layer

Back to top

.debug()

public .debug()

Logs the current list of entities that have been invalidated in this 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