VertexChannelNames.EncodeName Method (String, Int32)

Combines a channel name stub 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 (
         string baseName,
         int usageIndex
)

Parameters

  • baseName
    A channel base name stub.
  • usageIndex
    A channel usage index.

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