1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3	<head>
4		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5		<meta http-equiv="Content-Style-Type" content="text/css" />
6		<title>ShaderParameters</title>
7		<link rel="stylesheet" href="../css/mainpage.css" type="text/css" />
8	</head>
9	<body>
10		<h1>&lt;ShaderParameters&gt;</h1>
11		<h2>Description</h2>
12		<p>
13These are the values that are set to the shader symbols of the shader being used by the material. <br>Each shader symbol type has these child elements:<br> <br> BoolShaderParameterCtr<br> Vector1ShaderParameterCtr<br> Vector2ShaderParameterCtr<br> Vector3ShaderParameterCtr<br> Vector4ShaderParameterCtr<br> <br> <br> To read about the shader symbol-related elements on the shader side, see <a href="cmdl__Shaders_ShaderProgramDescriptionCtr.html">&lt;Symbols&gt; </a>.<br>
14        </p>
15
16<h2>(Bool|Vector1|Vector2|Vector3|Vector4)ShaderParameterCtr</h2>
17
18<h3>Attributes</h3>
19		<table class="arguments">
20<thead><tr><td>Type</td><td>Attributes</td><td>Description</td></tr></thead>
21<tr><td /><th>Name</th><td>The attribute name.</tr>
22</table>
23
24<p>
25Elements that represent default values are described by type in the child elements.
26</p>
27
28<h2>Example Output</h2>
29
30<table>
31<tr>
32<td><pre>
33&lt;Materials&gt;<br>
34    &lt;MaterialCtr Name=&quot;lambert2&quot; IsCompressible=&quot;true&quot; IsFragmentLightEnabled=&quot;true&quot; IsVertexLightEnabled=&quot;false&quot; IsHemiSphereLightEnabled=&quot;false&quot; IsHemiSphereOcclusionEnabled=&quot;false&quot; IsFogEnabled=&quot;false&quot; TextureCoordinateConfig=&quot;Config0120&quot; TranslucencyKind=&quot;Opaque&quot; ShaderProgramDescriptionIndex=&quot;-1&quot; ShaderBinaryKind=&quot;Default&quot;&gt;<br>
35        &lt;ShaderReference&gt;Shaders[&quot;DefaultShader&quot;]&lt;/ShaderReference&gt;<br>
36        &lt;FragmentOperation&gt;<br>
37            :<br>
38            :<br>
39        &lt;/FragmentOperation&gt;<br> <strong>
40        &lt;ShaderParameters&gt;<br>
41            &lt;BoolShaderParameterCtr Name=&quot;test1&quot;&gt;<br>
42                &lt;boolean&gt;true&lt;/boolean&gt;<br>
43            &lt;/BoolShaderParameterCtr&gt;<br>
44            &lt;Vector4ShaderParameterCtr Name=&quot;test2&quot;&gt;<br>
45                &lt;Vector4Xml X=&quot;1&quot; Y=&quot;2&quot; Z=&quot;3&quot; W=&quot;4&quot; /&gt;<br>
46            &lt;/Vector4ShaderParameterCtr&gt;<br>
47        &lt;/ShaderParameters&gt;<br> </strong>
48    &lt;/MaterialCtr&gt;<br>
49&lt;/Materials&gt;<br>
50</pre></td>
51</tr></table>
52
53	<hr><p>CONFIDENTIAL</p></body>
54</html>