RenderFromNode¶
Overview¶
Convert a Node to a RenderProgram
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class RenderFromNode¶
Static Methods¶
nodeToRenderProgram( node : Node, matrix : Matrix3 ) : RenderProgram¶
addBackgroundColor( renderProgram : RenderProgram, color : Color ) : RenderProgram¶
showSim()¶
nodeToJSON( node : Node ) : string¶
premultipliedSRGBToColor( premultiplied : Vector4 ) : Color¶
colorFrom( ...args : ConstructorParameters<ConstructorOf<Color>> ) : RenderColor¶
Source Code¶
See the source for RenderFromNode.ts in the alpenglow repository.