A vertex declaration, which defines per-vertex data.
Assembly: Microsoft.Xna.Framework.Graphics (in Microsoft.Xna.Framework.Graphics.dll)
'Declaration Public Class VertexDeclaration _ Inherits GraphicsResource
public class VertexDeclaration : GraphicsResource
The VertexDeclaration type exposes the following members.
|VertexDeclaration(array<VertexElement)||Initializes a new instance of the VertexDeclaration class.|
|VertexDeclaration(Int32, array<VertexElement)||Initializes a new instance of the VertexDeclaration class.|
|IsDisposed||Gets a value that indicates whether the object is disposed. (Inherited from GraphicsResource.)|
|VertexStride||Gets the number of bytes from one vertex to the next.|
|Dispose()||Immediately releases the unmanaged resources used by this object. (Inherited from GraphicsResource.)|
|Dispose(Boolean)||Immediately releases the unmanaged resources used by this object. (Inherited from GraphicsResource.)|
|Finalize||Allows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object. (Inherited from GraphicsResource.)|
|GetVertexElements||Gets the vertex shader declaration.|
Supported in: 5
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.