Skip to content

RenderFromNode

Overview

Convert a Node to a RenderProgram

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class RenderFromNode

import { RenderFromNode } from 'scenerystack/alpenglow';

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.