RenderAlpha¶
Overview¶
RenderProgram for alpha (an opacity) applied to a RenderProgram
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class RenderAlpha¶
Constructor¶
new RenderAlpha( program : RenderProgram, alpha : number )¶
Instance Methods¶
getName() : string¶
withChildren( children : RenderProgram[] ) : RenderAlpha¶
equalsTyped( other : this ) : boolean¶
(protected)
getSimplified( children : RenderProgram[] ) : RenderProgram | null¶
(protected)
evaluate( context : RenderEvaluationContext ) : Vector4¶
writeInstructions( instructions : RenderInstruction[] )¶
getExtraDebugString() : string¶
(protected)
serialize() : SerializedRenderAlpha¶
Static Methods¶
deserialize( obj : SerializedRenderAlpha ) : RenderAlpha¶
Type SerializedRenderAlpha¶
- type: "RenderAlpha"
- program: SerializedRenderProgram
- alpha: number
Source Code¶
See the source for RenderAlpha.ts in the alpenglow repository.