Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ShaderSemantic Structure
Collapse the table of content
Expand the table of content

ShaderSemantic Structure

Bb198963.note(en-US,XNAGameStudio.30).gifNote
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)

[SerializableAttribute]
public struct ShaderSemantic

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

Windows XP SP2, Windows Vista

Community Additions

ADD
Show:
© 2015 Microsoft