Optional
nameAn optional name allowing the object to be found by name.
Optional
transparentDetermines when this object will be renderered relative to other objects. Transparent objects are rendered after non-transparent objects.
Optional
addOptional
contextCalled 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.
Optional
contextOptional
contextCalled 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.
Optional
releaseRenders this object to the WebGL pipeline.
The interface contract for an object that may exist in a Scene. This interface is designed to place very few demands on the implementation.