Effect framework: Difference between revisions

Jump to navigation Jump to search
m
tweak the scheme doc
m (Johan G moved page Effect Framework to Effect framework: Sentence case title)
m (tweak the scheme doc)
Line 186: Line 186:


==== scheme ====
==== scheme ====
Since 2020.1, is only usable in Compositor build.
Used by the [[Compositor]] to choose which implementation of an Effect to render. For example, if a Compositor scene pass specifies the <code>test-scheme</code> scheme, all techniques that use <code>test-scheme</code> will be used to render the pass. If an Effect doesn't contain a technique that implements this scheme, the object will be ignored and not rendered on that pass. Techniques with no scheme are considered ''default'' and will be used by scene passes when no specific scheme has been provided.
 
For the compositor ALS pipeline a scheme of als-lightning has to be specified for the technique to be considered for rendering.
 
Example:
 
<syntaxhighlight lang="xml">
<scheme>als-lighting</scheme>
</syntaxhighlight>
 
 
==== predicate ====
==== predicate ====
A technique can contain a predicate that describes the OpenGL
A technique can contain a predicate that describes the OpenGL
343

edits

Navigation menu