VertexChannel<T> Class (Microsoft.Xna.Framework.Content.Pipeline.Graphics)

Provides methods and properties for maintaining a vertex channel. This is a generic implementation of VertexChannel and, therefore, can handle strongly typed content data.
System.Object
   Microsoft.Xna.Framework.Content.Pipeline.Graphics.VertexChannel
      Microsoft.Xna.Framework.Content.Pipeline.Graphics.VertexChannel<T>

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 VertexChannel<T> : VertexChannel, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The VertexChannel<T> type exposes the following members.

  Platforms Name Description
Count Gets the number of elements in the vertex channel (Inherited from VertexChannel.)
ElementType Gets the type of data contained in this channel. (Overrides VertexChannel.ElementType().)
Item Gets or sets the element at the specified index. (Implements Item().)
Item Gets or sets the element at the specified index. (Inherited from VertexChannel.)
Name Gets the name of the vertex channel. (Inherited from VertexChannel.)
Top
  Platforms Name Description
Contains(T) Determines whether the specified element is in the channel. (Implements ICollection<T>.Contains().)
Contains(object) Determines whether the specified element is in the channel. (Inherited from VertexChannel.)
CopyTo(T[], int) Copies the elements of the channel to an array, starting at the specified index. (Implements ICollection<T>.CopyTo().)
CopyTo(Array, int) Copies the elements of the channel to an array, starting at the specified index. (Inherited from VertexChannel.)
GetEnumerator() Gets an enumerator interface for reading channel content. (Implements IEnumerable<T>.GetEnumerator().)
GetEnumerator() Gets an enumerator interface for reading channel content. (Inherited from VertexChannel.)
IndexOf(T) Gets the index of the specified item. (Implements IList<T>.IndexOf().)
IndexOf(object) Gets the index of the specified item. (Inherited from VertexChannel.)
ReadConvertedContent<TargetType> Reads channel content and automatically converts it to the specified vector format. (Overrides VertexChannel.ReadConvertedContent<TargetType>().)
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop