RenderExecutionStack¶
Overview¶
A stack of values (effectively vec4s) that are used by RenderInstructions to evaluate a RenderProgram.
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class RenderExecutionStack¶
Instance Methods¶
reset()¶
getLength() : number¶
getCurrentIndex() : number¶
getLastIndex() : number¶
push( vector : Vector4 ) : Vector4¶
pushValues( x : number, y : number, z : number, w : number )¶
pushNumber( n : number )¶
We're padding for now (for simplicity)
popInto( vector : Vector4 ) : Vector4¶
popNumber() : number¶
Just returns the X component
writeTop( vector : Vector4 ) : Vector4¶
writeTopValues( x : number, y : number, z : number, w : number )¶
readTop( vector : Vector4 ) : Vector4¶
Instance Properties¶
data : ExecutionData¶
Source Code¶
See the source for RenderExecutionStack.ts in the alpenglow repository.