A facet is an adapter between a domain concept and a uniform value parameter in a WebGL shader program. An object implementing the Facet interface is capable of setting uniform values on a FacetVisitor (which is usually implemented by a Material).
facet
uniform
Facet
FacetVisitor
Material
Optional
Increments the reference count of an Shareable instance.
The new reference count. This value is intended to be used only for testing purposes.
Decrements the reference count of an Shareable instance.
Sets one of more uniform values on the FacetVisitor.
A visitor to the Facet, usually a Material implementation.
A
facet
is an adapter between a domain concept and auniform
value parameter in a WebGL shader program. An object implementing theFacet
interface is capable of setting uniform values on aFacetVisitor
(which is usually implemented by aMaterial
).