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>ShaderCtr</title>
7		<link rel="stylesheet" href="../css/mainpage.css" type="text/css" />
8	</head>
9	<body>
10		<h1>&lt;ShaderCtr&gt;</h1>
11		<h2>Description</h2>
12		<p>
13            Shader definition information.
14            </p>
15		<h2>Attributes</h2>
16		<table class="arguments">
17<thead><tr><td>Type</td><td>Attributes</td><td>Description</td></tr></thead><tr><td /><th>Name</th><td>The name of the shader.</td></tr></table>
18
19<h2>&lt;BinaryData&gt; Element</h2>
20<p>
21The string stores the content of the shader binary file using Base64 encoding.
22</p>
23
24<h2>&lt;ShaderKinds&gt; element</h2>
25<p>
26Child elements hold the type information for numerous shaders (<CODE>&lt;ShaderKindCtr&gt;</CODE>).<br> The text in <CODE>&lt;ShaderKindCtr&gt;</CODE> holds a string indicating the shader type (either <CODE>VertexShader</CODE> or <CODE>GeometryShader</CODE>)
27</p>
28
29<h2>&lt;Descriptions&gt; Element</h2>
30<p>
31Child elements hold the descriptions for numerous shader programs (<CODE><a href="cmdl__Shaders_ShaderProgramDescriptionCtr.html">&lt;ShaderProgramDescriptionCtr&gt;</a></CODE>).<br>
32</p>
33
34<h2>Example Output</h2>
35<table>
36<tr>
37<td><pre>
38<strong>&lt;ShaderCtr Name=&quot;ParticleDefaultShader&quot;&gt;<br></strong>
39  &lt;BinaryData&gt;RFZMQgIAAABQBwAAPAsAAER...&lt;/BinaryData&gt;<br>
40  &lt;ShaderKinds&gt;<br>
41    &lt;ShaderKindCtr&gt;VertexShader&lt;/ShaderKindCtr&gt;<br>
42    &lt;ShaderKindCtr&gt;GeometryShader&lt;/ShaderKindCtr&gt;<br>
43  &lt;/ShaderKinds&gt;<br>
44  &lt;Descriptions&gt;<br>
45    &lt;ShaderProgramDescriptionCtr <br>
46      VertexShaderIndex=&quot;0&quot; <br>
47      GeometryShaderIndex=&quot;1&quot; <br>
48      MaxBoneCount=&quot;0&quot; <br>
49      MaxVertexLightCount=&quot;0&quot; <br>
50      VertexLightEndUniform=&quot;60&quot; <br>
51      IsSupportingRigidSkinning=&quot;false&quot; <br>
52      IsSupportingSmoothSkinning=&quot;false&quot; <br>
53      IsSupportingHemiSphereLighting=&quot;false&quot; <br>
54      IsSupportingVertexMorphShader=&quot;false&quot; <br>
55      GeometryShaderMode=&quot;None&quot;&gt;<br>
56      &lt;Symbols /&gt;<br>
57      &lt;AttributeSymbols&gt;<br>
58        &lt;AttributeSymbolCtr Usage=&quot;Position&quot; Name=&quot;aPosition&quot; /&gt;<br>
59        &lt;AttributeSymbolCtr Usage=&quot;Normal&quot; Name=&quot;aNormal&quot; /&gt;<br>
60        &lt;AttributeSymbolCtr Usage=&quot;Tangent&quot; Name=&quot;aTangent&quot; /&gt;<br>
61        &lt;AttributeSymbolCtr Usage=&quot;Color&quot; Name=&quot;aColor&quot; /&gt;<br>
62        &lt;AttributeSymbolCtr Usage=&quot;TextureCoordinate0&quot; Name=&quot;aTexCoord0&quot; /&gt;<br>
63        &lt;AttributeSymbolCtr Usage=&quot;TextureCoordinate1&quot; Name=&quot;aTexCoord1&quot; /&gt;<br>
64        &lt;AttributeSymbolCtr Usage=&quot;TextureCoordinate2&quot; Name=&quot;aTexCoord2&quot; /&gt;<br>
65        &lt;AttributeSymbolCtr Usage=&quot;BoneIndex&quot; Name=&quot;aBoneIndex&quot; /&gt;<br>
66        &lt;AttributeSymbolCtr Usage=&quot;BoneWeight&quot; Name=&quot;aBoneWeight&quot; /&gt;<br>
67        &lt;AttributeSymbolCtr Usage=&quot;UserAttribute0&quot; Name=&quot;aUserAttribute0&quot; /&gt;<br>
68        &lt;AttributeSymbolCtr Usage=&quot;UserAttribute1&quot; Name=&quot;aUserAttribute1&quot; /&gt;<br>
69        &lt;AttributeSymbolCtr Usage=&quot;UserAttribute2&quot; Name=&quot;aUserAttribute2&quot; /&gt;<br>
70      &lt;/AttributeSymbols&gt;<br>
71    &lt;/ShaderProgramDescriptionCtr&gt;<br>
72  &lt;/Descriptions&gt;<br>
73<strong>&lt;/ShaderCtr&gt;<br></strong>
74</pre></td>
75</tr></table>
76
77	<hr><p>CONFIDENTIAL</p></body>
78</html>