Skip to content

RenderLinearSRGBToSRGB

Overview

RenderProgram to convert linear sRGB => sRGB

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class RenderLinearSRGBToSRGB

import { RenderLinearSRGBToSRGB } from 'scenerystack/alpenglow';

Constructor

new RenderLinearSRGBToSRGB( program : RenderProgram )

Instance Methods

getName() : string

withChildren( children : RenderProgram[] ) : RenderLinearSRGBToSRGB

writeInstructions( instructions : RenderInstruction[] )

Class RenderInstructionLinearSRGBToSRGB

import { RenderInstructionLinearSRGBToSRGB } from 'scenerystack/alpenglow';

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 : RenderInstructionLinearSRGBToSRGB

(readonly)

Source Code

See the source for RenderLinearSRGBToSRGB.ts in the alpenglow repository.