Sdílet prostřednictvím


CompiledShader.GetInputSemantics Method

Note

This method is available only when developing for Windows.

Gets the semantics for the shader inputs. Use this method to determine the input vertex format.

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

Syntax

public ShaderSemantic[] GetInputSemantics ()

Return Value

An array of shader semantics.

See Also

Reference

CompiledShader Structure
CompiledShader Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista