Protected
contextThe ContextManager that will be subscribed to for WebGL rendering context events.
Provides access to the underlying WebGL context.
Called to request the consumer to free any WebGL resources acquired and owned. The consumer may assume that its cached context is still valid in order to properly dispose of any cached resources. In the case of shared objects, this method may be called multiple times for what is logically the same context. In such cases the consumer must be idempotent and respond only to the first request.
Called to inform the dependent of a loss of WebGL rendering context. The dependent must assume that any cached context is invalid. The dependent must not try to use and cached context to free resources. The dependent should reset its state to that for which there is no context.
Protected
destructor@deprecated. Use the render method instead.
Traverses the collection of Renderable objects, calling render(ambients) on each one. The rendering takes place in two stages. In the first stage, non-transparent objects are drawn. In the second state, transparent objects are drawn.
Protected
resurrectorProtected
setThis method is for use within constructors.
Immediately after a call to the super class constructor, make a call to setLoggingName. This will have the effect of refining the name used for reporting reference counts.
This method has the secondary purpose of enabling a tally of the number of classes in the constructor chain. This enables the runtime architecture to verify that destructor chains are consistent with constructor chains, which is a good practice for cleaning up resources.
Notice that this method is intentionally protected to discourage it from being called outside of the constructor.
This will usually be set to the name of the class.
A collection of Renderable objects.