VertexChannelCollection Class (Microsoft.Xna.Framework.Content.Pipeline.Graphics)

Provides methods and properties for managing a list of vertex data channels.
System.Object
   Microsoft.Xna.Framework.Content.Pipeline.Graphics.VertexChannelCollection

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
[DefaultMemberAttribute("Item")]
public sealed class VertexChannelCollection : IList<VertexChannel>, ICollection<VertexChannel>, IEnumerable<VertexChannel>, IEnumerable

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The VertexChannelCollection type exposes the following members.

  Platforms Name Description
Count Gets the number of vertex channels in the collection. (Implements Count().)
Item Gets or sets the vertex channel at the specified index position. (Implements Item().)
Item Gets or sets the vertex channel with the specified name. 
Top
  Platforms Name Description
Add Adds a new vertex channel to the end of the collection. 
Add<ElementType> Adds a new vertex channel to the end of the collection. 
Clear Removes all vertex channels from the collection. (Implements ICollection<T>.Clear().)
Contains(string) Determines whether the collection contains the specified vertex channel. 
Contains(VertexChannel) Determines whether the collection contains the specified vertex channel. (Implements ICollection<T>.Contains().)
ConvertChannelContent<TargetType>(int) Converts the channel, at the specified index, to another vector format. 
ConvertChannelContent<TargetType>(string) Converts the channel, specified by name to another vector format. 
Get<T>(int) Gets the vertex channel with the specified index and content type. 
Get<T>(string) Gets the vertex channel with the specified name and content type. 
GetEnumerator Gets an enumerator that iterates through the vertex channels of a collection. (Implements IEnumerable<T>.GetEnumerator().)
IndexOf(VertexChannel) Determines the index of the specified vertex channel. (Implements IList<T>.IndexOf().)
IndexOf(string) Determines the index of a vertex channel with the specified name. 
Insert Inserts a new vertex channel at the specified position. 
Insert<ElementType> Inserts a new vertex channel at the specified position. 
Remove(string) Removes the specified vertex channel from the collection. 
Remove(VertexChannel) Removes the specified vertex channel from the collection. (Implements ICollection<T>.Remove().)
RemoveAt Removes the vertex channel at the specified index position. (Implements IList<T>.RemoveAt().)
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop