The element identifiers for the vertex and fragment shader respectively.
An array of strings containing the order of attributes.
The document object model that owns the script elements.
Protected
contextThe ContextManager that will be subscribed to for WebGL rendering context events.
Provides access to the underlying WebGL context.
Informs the facet visitor of which texture unit is to be used.
Protected
destructorProtected
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 shareable WebGL program based upon shader source code in HTML script elements.
This class provides a convenient way of creating custom GLSL programs. The scripts are lazily loaded so that the constructor may be called before the DOM has finished loading.