RenderSRGBToLinearSRGB¶
Overview¶
RenderProgram to convert sRGB => linear sRGB
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class RenderSRGBToLinearSRGB¶
Constructor¶
new RenderSRGBToLinearSRGB( program : RenderProgram )¶
Instance Methods¶
getName() : string¶
withChildren( children : RenderProgram[] ) : RenderSRGBToLinearSRGB¶
writeInstructions( instructions : RenderInstruction[] )¶
Class RenderInstructionSRGBToLinearSRGB¶
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 : RenderInstructionSRGBToLinearSRGB¶
(readonly)
Source Code¶
See the source for RenderSRGBToLinearSRGB.ts in the alpenglow repository.