2015-06-07 16:52:52 -07:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<element name="material" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
|
|
|
|
<interleave>
|
|
|
|
|
<zeroOrMore>
|
|
|
|
|
<element name="alternative">
|
|
|
|
|
<interleave>
|
|
|
|
|
<attribute name="material"/>
|
|
|
|
|
<optional>
|
|
|
|
|
<attribute name="quality">
|
|
|
|
|
<data type="decimal">
|
|
|
|
|
<param name="minInclusive">0</param>
|
|
|
|
|
</data>
|
|
|
|
|
</attribute>
|
|
|
|
|
</optional>
|
|
|
|
|
<optional>
|
|
|
|
|
<attribute name="if"/>
|
|
|
|
|
</optional>
|
|
|
|
|
</interleave>
|
|
|
|
|
</element>
|
|
|
|
|
</zeroOrMore>
|
|
|
|
|
<optional>
|
|
|
|
|
<element name="alpha_blending">
|
|
|
|
|
<!-- flag; true if present -->
|
|
|
|
|
<empty/>
|
|
|
|
|
</element>
|
|
|
|
|
</optional>
|
2026-05-10 14:57:16 -07:00
|
|
|
<oneOrMore>
|
|
|
|
|
<element name="shader">
|
|
|
|
|
<attribute name="effect"/>
|
|
|
|
|
<attribute name="pass">
|
|
|
|
|
<choice>
|
|
|
|
|
<value>main</value>
|
|
|
|
|
<value>shadow_caster</value>
|
|
|
|
|
<value>silhouette_occluder</value>
|
|
|
|
|
<value>silhouette_caster</value>
|
|
|
|
|
<value>wireframe</value>
|
|
|
|
|
<value>wireframe_solid</value>
|
|
|
|
|
<value>reflections</value>
|
|
|
|
|
<value>refractions</value>
|
|
|
|
|
</choice>
|
|
|
|
|
</attribute>
|
|
|
|
|
</element>
|
|
|
|
|
</oneOrMore>
|
2015-06-07 16:52:52 -07:00
|
|
|
<zeroOrMore>
|
|
|
|
|
<element name="define">
|
|
|
|
|
<attribute name="name"/>
|
|
|
|
|
<attribute name="value"/>
|
|
|
|
|
</element>
|
|
|
|
|
</zeroOrMore>
|
|
|
|
|
<zeroOrMore>
|
|
|
|
|
<element name="uniform">
|
|
|
|
|
<attribute name="name"/>
|
|
|
|
|
<attribute name="value">
|
|
|
|
|
<list>
|
|
|
|
|
<!-- X Y Z W -->
|
|
|
|
|
<data type="float"/>
|
|
|
|
|
<optional>
|
|
|
|
|
<data type="float"/>
|
|
|
|
|
</optional>
|
|
|
|
|
<optional>
|
|
|
|
|
<data type="float"/>
|
|
|
|
|
</optional>
|
|
|
|
|
<optional>
|
|
|
|
|
<data type="float"/>
|
|
|
|
|
</optional>
|
|
|
|
|
</list>
|
|
|
|
|
</attribute>
|
|
|
|
|
</element>
|
|
|
|
|
</zeroOrMore>
|
|
|
|
|
<zeroOrMore>
|
|
|
|
|
<element name="renderquery">
|
|
|
|
|
<attribute name="name"/>
|
|
|
|
|
</element>
|
|
|
|
|
</zeroOrMore>
|
|
|
|
|
<zeroOrMore>
|
|
|
|
|
<element name="required_texture">
|
|
|
|
|
<attribute name="name"/>
|
2015-06-09 08:15:19 -07:00
|
|
|
<optional>
|
|
|
|
|
<attribute name="define"/>
|
|
|
|
|
</optional>
|
2026-07-28 16:29:09 -07:00
|
|
|
<optional>
|
|
|
|
|
<attribute name="srgb"/>
|
|
|
|
|
</optional>
|
2015-06-07 16:52:52 -07:00
|
|
|
</element>
|
|
|
|
|
</zeroOrMore>
|
|
|
|
|
</interleave>
|
|
|
|
|
</element>
|