ShaderSemantic Structure

Note

This structure is available only when developing for Windows.

Semantics map a parameter to vertex or pixel shader registers. They can also be optional descriptive strings attached to non-register parameters.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

[SerializableAttribute]
public struct ShaderSemantic

Remarks

Semantics are required for vertex and pixel shader, input and output registers.

See Also

Reference

ShaderSemantic Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista