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

Provides methods and properties for maintaining a vertex channel. A vertex channel is a list of arbitrary data with one value for each vertex. Channels are stored inside a GeometryContent and identified by name.
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 abstract class VertexChannel : IList, ICollection, IEnumerable

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The VertexChannel type exposes the following members.

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

    
 Windows DirectX Desktop
    
 Linux Desktop