RenderableFace¶
Overview¶
Represents a face with a RenderProgram/bounds, that can potentially be split into multiples, or optimized
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class RenderableFace¶
Constructor¶
new RenderableFace( face : ClippableFace, renderProgram : RenderProgram, bounds : Bounds2 )¶
Instance Methods¶
split() : RenderableFace[]¶
TODO: FIND A BETTER STRATEGY rather than multiple full iteration for every RenderProgram that gets split!!!!
Source Code¶
See the source for RenderableFace.ts in the alpenglow repository.