VertexChannelNames.TryDecodeUsage Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)

Gets a vertex declaration usage enumeration from the encoded string format.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public static bool TryDecodeUsage(
	string encodedName, 
	out VertexElementUsage usage
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

encodedName
Type: System.String
Encoded name of a vertex declaration.
usage
Type: out Microsoft.Xna.Framework.Graphics.VertexElementUsage
Value of the declaration usage for the vertex declaration.

Return Value

Type: System.Boolean
true if the encoded name maps to a VertexElementUsage enumeration value; false otherwise.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop