VertexChannelNames.EncodeName Method (VertexElementUsage, Int32)
Combines a vertex declaration usage and usage index into a string name.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public static string EncodeName (
VertexElementUsage vertexElementUsage,
int usageIndex
)
Parameters
- vertexElementUsage
A vertex declaration. - usageIndex
An index for the vertex declaration.
Return Value
Resulting encoded name.
See Also
Reference
VertexChannelNames Class
VertexChannelNames Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows XP SP2, Windows Vista