Information describing the shader program.
| Type | Attributes | Description |
| VertexShaderIndex | The index number of the vertex shader in the file. | |
|---|---|---|
| GeometryShaderIndex | The index number of the geometry shader in the file. | |
| MaxBoneCount | The maximum number of bones that the vertex shader can accept as input. | |
| MaxVertexLightCount | The maximum number of vertex lights that the vertex shader can accept as input. | |
| VertexLightEndUniform | The end position of the uniform register used by vertex light. | |
| IsSupportingRigidSkinning | Flag indicating whether the shader supports rigid skinning. | |
| IsSupportingSmoothSkinning | Flag indicating whether the shader supports smooth skinning. | |
| IsSupportingHemiSphereLighting | Flag indicating whether the shader supports hemispherical lighting. | |
| IsSupportingVertexMorphShader | Flag indicating whether the shader supports vertex morphing. | |
| GeometryShaderMode | The enumerated type representing the operational modes of the geometry shader. The standard runtime library does not support any specification except None. |
| Type | Attributes | Description |
| None | Geometry shader not being used. This is the normal case for rendering. | |
|---|---|---|
| Points | A point geometry shader. | |
| Lines | A line geometry shader. | |
| LineStrip | A LineStrip geometry shader. | |
| PointSprites | A PointSprite geometry shader. | |
| SilhouetteTriangles | A Triangle List with Silhouette geometry shader. | |
| SilhouetteStrip | A Triangle Strip with Silhouette geometry shader. | |
| Subdivision | A Subdivision geometry shader. | |
| SubdivisionLoop | A Subdivision Loop geometry shader. |
Bundles together multiple shader symbols. Child elements hold a multitude of these elements:
BoolShaderSymbolCtr, Vector1ShaderSymbolCtr, Vector2ShaderSymbolCtr, Vector3ShaderSymbolCtr, Vector4ShaderSymbolCtr,
| Type | Attributes | Description |
| Name | The name of the shader. | |
|---|---|---|
| IsEnabled |
This sets whether to use DefaultValue or user-defined values (the material's shader parameters).If set to true, the default values defined by the child elements are applied.If set to false, the material's shader parameters (<ShaderParameters>) are used.
|
The default values for shader symbols are defined as the child elements boolean Vector1Xml Vector2Xml Vector3Xml Vector4Xml.
These are used when the IsEnabled attribute is true or when there is no relevant uniform name for a given shader parameter.
Child elements hold the type information for numerous shaders (<AttributeSymbolCtr>).
<AttributeSymbolCtr> element attributes| Type | Attributes | Description |
| Usage | VertexAttributeCtrUsage enumerator indicating how the attribute value is being used. | |
|---|---|---|
| Name | The name of the attribute value. The first character must be a lowercase "a," which indicates that this is an attribute. |
| Value | Description |
| Position | Vertex position information. |
|---|---|
| Normal | Normal vector information of vertex. |
| Tangent | Tangent vector information of vertex. |
| Color | Vertex color information. |
| TextureCoordinate0 | Texture coordinate 0 information of vertex. |
| TextureCoordinate1 | Texture coordinate 1 information of vertex. |
| TextureCoordinate2 | Texture coordinate 2 information of vertex. |
| BoneIndex | Bone index number information of vertex. |
| BoneWeight | Vertex bone weight information. |
| UserAttribute0 | User attribute 0 information of vertex. |
| UserAttribute1 | User attribute 1 information of vertex. |
| UserAttribute2 | User attribute 2 information of vertex. |
| UserAttribute3 | User attribute 3 information of vertex. |
| UserAttribute4 | User attribute 4 information of vertex. |
| UserAttribute5 | User attribute 5 information of vertex. |
| UserAttribute6 | User attribute 6 information of vertex. |
| UserAttribute7 | User attribute 7 information of vertex. |
| UserAttribute8 | User attribute 8 information of vertex. |
| UserAttribute9 | User attribute 9 information of vertex. |
| UserAttribute10 | User attribute 10 information of vertex. |
| UserAttribute11 | User attribute 11 information of vertex. |
| Interleave | Interleave format information. |
<ShaderCtr Name="ParticleDefaultShader"> |
CONFIDENTIAL