RenderPathReplacer¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/alpenglow/blob/main/js/render-program/RenderPathReplacer.ts for the most up-to-date information.
Overview¶
A optimized form for constructing RenderPrograms with their RenderPathBooleans simplified.
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class RenderPathReplacer¶
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.