RenderPathBoolean¶
Overview¶
RenderPathBoolean will display one RenderProgram "inside" the path, and another RenderProgram "outside" the path.
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class RenderPathBoolean¶
Constructor¶
new RenderPathBoolean( path : RenderPath, inside : RenderProgram, outside : RenderProgram )¶
Instance Methods¶
getName() : string¶
withChildren( children : RenderProgram[] ) : RenderPathBoolean¶
transformed( transform : Matrix3 ) : RenderProgram¶
equalsTyped( other : this ) : boolean¶
(protected)
isOneSided() : boolean¶
getOneSide() : RenderProgram¶
withOneSide( program : RenderProgram ) : RenderProgram¶
getSimplified( children : RenderProgram[] ) : RenderProgram | null¶
(protected)
evaluate( context : RenderEvaluationContext ) : Vector4¶
getExtraDebugString() : string¶
(protected)
serialize() : SerializedRenderPathBoolean¶
Static Methods¶
deserialize( obj : SerializedRenderPathBoolean ) : RenderPathBoolean¶
fromInside( path : RenderPath, inside : RenderProgram ) : RenderPathBoolean¶
Type SerializedRenderPathBoolean¶
- type: "RenderPathBoolean"
- path: SerializedRenderPath
- inside: SerializedRenderProgram
- outside: SerializedRenderProgram
Source Code¶
See the source for RenderPathBoolean.ts in the alpenglow repository.