Share via


VertexChannel.ElementType Property

Note

This property is available only when developing for Windows.

Gets the type of data contained in this channel.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public abstract Type ElementType { get; }

Property Value

Type of data stored in the vertex channel.

Remarks

To access strongly typed content data, cast the VertexChannel object to a VertexChannel<T> before calling ElementType. This causes a generic enumerator interface to be returned.

See Also

Reference

VertexChannel Class
VertexChannel Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows 7, Windows Vista, Windows XP