Partilhar via


VertexChannelNames.EncodeName Method (String, Int32)

Note

This method is available only when developing for Windows.

Combines a channel name stub and usage index into a string name.

Syntax

'Declaration
Public Shared Function EncodeName ( _
         baseName As String, _
         usageIndex As Integer _
) As String 
public static string EncodeName (
         string baseName,
         int usageIndex
)
public:
static String EncodeName(
         String baseName,
         int usageIndex
)

Parameters

  • baseName
    Type: String
    A channel base name stub.
  • usageIndex
    Type: Int32
    A channel usage index.

Return Value

Type: String
Resulting encoded name.

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