Partilhar via


VertexChannelNames.DecodeUsageIndex Method

Note

This method is available only when developing for Windows.

Gets a channel usage index from the encoded format.

Syntax

'Declaration
Public Shared Function DecodeUsageIndex ( _
         encodedName As String _
) As Integer 
public static int DecodeUsageIndex (
         string encodedName
)
public:
static int DecodeUsageIndex(
         String encodedName
)

Parameters

  • encodedName
    Type: String
    Encoded name to be decoded.

Return Value

Type: Int32
Resulting channel usage index.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics

Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

See Also

Reference

VertexChannelNames Class
VertexChannelNames Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows 7, Windows Vista, Windows XP