Partager via


VertexChannelCollection.ConvertChannelContent Generic Method (Int32)

Note

This generic method is available only when developing for Windows.

Converts the channel, at the specified index, to another vector format.

Syntax

'Declaration
Public Function ConvertChannelContent(Of TargetType) ( _
         index As Integer _
) As VertexChannel(Of TargetType) 
public VertexChannel<TargetType> ConvertChannelContent<TargetType> (
         int index
)
public:
generic<typename TargetType>
VertexChannel<TargetType> ConvertChannelContent(
         int index
)

Type Parameters

Parameters

  • index
    Type: Int32
    Index of the channel to be converted.

Return Value

Type: VertexChannel<TargetType>
New channel in the specified format.

Requirements

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

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

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP