Skip to content

RenderPathReplacer

Overview

A optimized form for constructing RenderPrograms with their RenderPathBooleans simplified.

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

Class RenderPathReplacer

import { RenderPathReplacer } from 'scenerystack/alpenglow';

Constructor

new RenderPathReplacer( program : RenderProgram )

Instance Methods

replace( includedPaths : Set<RenderPath> ) : RenderProgram

Static Methods

isContainer( program : RenderProgram ) : program is ( RenderStack | RenderDepthSort )

isTransparentOutside( program : RenderProgram ) : program is RenderPathBoolean

Source Code

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