VertexChannelNames.TryDecodeUsage Method
Gets a vertex declaration usage enumeration from the encoded string format.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public static bool TryDecodeUsage (
string encodedName,
out VertexElementUsage usage
)
Parameters
- encodedName
Encoded name of a vertex declaration. - usage
[OutAttribute] Value of the declaration usage for the vertex declaration.
Return Value
true if the encoded name maps to a VertexElementUsage enumeration value; false otherwise.
See Also
Reference
VertexChannelNames Class
VertexChannelNames Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows XP SP2, Windows Vista