]> git.sesse.net Git - nageru/commit
Support optional effects with multiple inputs.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 16 Jun 2019 17:14:24 +0000 (19:14 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 16 Jun 2019 17:14:24 +0000 (19:14 +0200)
commite4ebe67b6523038484df30d1d5fafc6055398acc
tree9bc10803f357d482d16567de8557f83ffea822da
parent83b3d508575124fb83c823ca2439f728d43c7647
Support optional effects with multiple inputs.

This allows you to prune away entire sections of the chain; the typical
case is if you have an OverlayEffect(a, b) and want to disable that.
In the disabled versions of the chain, the OverlayEffect will be replaced
with an IdentityEffect that passes through a only and leaves the entire
subgraph under b noninstantiated.
nageru/scene.cpp
nageru/scene.h