RenderEvaluationContext¶
Overview¶
Represents the state passed through RenderProgram evaluation
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class RenderEvaluationContext¶
Instance Methods¶
set( face : ClippableFace | null, area : number, centroid : Vector2, minX : number, minY : number, maxX : number, maxY : number ) : this¶
getFace() : ClippableFace¶
getBounds() : Bounds2¶
getCenterX() : number¶
getCenterY() : number¶
hasArea() : boolean¶
hasCentroid() : boolean¶
writeBoundsCentroid( centroid : Vector2 ) : Vector2¶
Instance Properties¶
face : ClippableFace | null¶
if null AND we have a need set for a face, it is fully covered
area¶
TODO: documentation!
centroid : Vector2¶
minX¶
minY¶
maxX¶
maxY¶
Source Code¶
See the source for RenderEvaluationContext.ts in the alpenglow repository.