VertexChannelNames.EncodeName Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)
Combines a vertex declaration usage and usage index into a string name.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
public static string EncodeName( VertexElementUsage vertexElementUsage, int usageIndex )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- vertexElementUsage
-
Type: Microsoft.Xna.Framework.Graphics.VertexElementUsage
A vertex declaration.
- usageIndex
-
Type: System.Int32
An index for the vertex declaration.
Return Value
Type: System.StringResulting encoded name.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop