Skip to content

RenderLinearSRGBToLinearDisplayP3

Overview

RenderProgram to convert linear sRGB => linear Display P3

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

Class RenderLinearSRGBToLinearDisplayP3

import { RenderLinearSRGBToLinearDisplayP3 } from 'scenerystack/alpenglow';

Constructor

new RenderLinearSRGBToLinearDisplayP3( program : RenderProgram )

Instance Methods

getName() : string

withChildren( children : RenderProgram[] ) : RenderLinearSRGBToLinearDisplayP3

writeInstructions( instructions : RenderInstruction[] )

Class RenderInstructionLinearSRGBToLinearDisplayP3

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

(readonly)

Source Code

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