Changes

Jump to: navigation, search

Effect Framework

584 bytes added, 05:16, 1 September 2019
predicate
===predicate===
Condition for this technique to be used. If this fails it will try the next technique in the effect.
 
Example:
 
<predicate>
<and>
<property>/sim/rendering/shaders/quality-level</property>
<property>/sim/rendering/shaders/model</property>
<or>
<less-equal>
<value type="float">2.0</value>
<glversion/>
</less-equal>
<and>
<extension-supported>GL_ARB_shader_objects</extension-supported>
<extension-supported>GL_ARB_shading_language_100</extension-supported>
<extension-supported>GL_ARB_vertex_shader</extension-supported>
<extension-supported>GL_ARB_fragment_shader</extension-supported>
</and>
</or>
</and>
</predicate>
===pass===
549
edits

Navigation menu