Microsoft.Xna.Framework.Graphics
Class VertexDeclaration

java.lang.Object
  extended by Microsoft.Xna.Framework.Graphics.GraphicsResource
      extended by Microsoft.Xna.Framework.Graphics.VertexDeclaration
All Implemented Interfaces:
IDisposable

public class VertexDeclaration
extends GraphicsResource

A vertex declaration, which defines per-vertex data.

Author:
Halofreak1990

Field Summary
 
Fields inherited from class Microsoft.Xna.Framework.Graphics.GraphicsResource
_parent, Disposing, Name, Tag
 
Constructor Summary
VertexDeclaration(int vertexStride, VertexElement... elements)
           
VertexDeclaration(VertexElement... elements)
           
 
Method Summary
 int getVertexStride()
           
 
Methods inherited from class Microsoft.Xna.Framework.Graphics.GraphicsResource
Dispose, Dispose, finalize, GraphicsDevice, IsDisposed, raise_disposing, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VertexDeclaration

public VertexDeclaration(VertexElement... elements)

VertexDeclaration

public VertexDeclaration(int vertexStride,
                         VertexElement... elements)
Method Detail

getVertexStride

public int getVertexStride()