RenderNormalize¶
Overview¶
RenderProgram for normalizing the result of another RenderProgram
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class RenderNormalize¶
Constructor¶
new RenderNormalize( program : RenderProgram )¶
Instance Methods¶
getName() : string¶
withChildren( children : RenderProgram[] ) : RenderNormalize¶
getSimplified( children : RenderProgram[] ) : RenderProgram | null¶
(protected)
evaluate( context : RenderEvaluationContext ) : Vector4¶
writeInstructions( instructions : RenderInstruction[] )¶
serialize() : SerializedRenderNormalize¶
Static Methods¶
deserialize( obj : SerializedRenderNormalize ) : RenderNormalize¶
Class RenderInstructionNormalize¶
Instance Methods¶
toString() : string¶
equals( other : RenderInstruction, areLocationsEqual : ( a: RenderInstructionLocation, b: RenderInstructionLocation ) => boolean ) : boolean¶
execute( stack : RenderExecutionStack, context : RenderEvaluationContext, executor : RenderExecutor )¶
writeBinary( encoder : ByteEncoder, getOffset : ( location: RenderInstructionLocation ) => number )¶
getBinaryLength() : number¶
Static Properties¶
INSTANCE : RenderInstructionNormalize¶
(readonly)
Type SerializedRenderNormalize¶
- type: "RenderNormalize"
- program: SerializedRenderProgram
Source Code¶
See the source for RenderNormalize.ts in the alpenglow repository.