VertexChannelCollection.Insert Method (Int32, String, Type, IEnumerable)
Inserts a new vertex channel at the specified position.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public VertexChannel Insert (
int index,
string name,
Type elementType,
IEnumerable channelData
)
Parameters
- index
Index for channel insertion. - name
Name of the new channel. - elementType
Type of the new channel. - channelData
Initial data for the new channel. If null, it is filled with the default value.
Return Value
The inserted vertex channel.
See Also
Reference
VertexChannelCollection Class
VertexChannelCollection Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows XP SP2, Windows Vista