VertexChannelCollection.Insert Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)

Inserts a new vertex channel at the specified position.

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 VertexChannel Insert(
	int index, 
	string name, 
	Type elementType, 
	IEnumerable channelData
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

index
Type: System.Int32
Index for channel insertion.
name
Type: System.String
Name of the new channel.
elementType
Type: System.Type
Type of the new channel.
channelData
Type: System.Collections.IEnumerable
Initial data for the new channel. If null, it is filled with the default value.

Return Value

Type: Microsoft.Xna.Framework.Content.Pipeline.Graphics.VertexChannel
The inserted vertex channel.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop