Skip to content

RenderLinearDisplayP3ToLinearSRGB

Overview

RenderProgram to convert linear Display P3 => linear sRGB

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

Class RenderLinearDisplayP3ToLinearSRGB

import { RenderLinearDisplayP3ToLinearSRGB } from 'scenerystack/alpenglow';

Constructor

new RenderLinearDisplayP3ToLinearSRGB( program : RenderProgram )

Instance Methods

getName() : string

withChildren( children : RenderProgram[] ) : RenderLinearDisplayP3ToLinearSRGB

writeInstructions( instructions : RenderInstruction[] )

Class RenderInstructionLinearDisplayP3ToLinearSRGB

import { RenderInstructionLinearDisplayP3ToLinearSRGB } 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 : RenderInstructionLinearDisplayP3ToLinearSRGB

(readonly)

Source Code

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