public class VertexDeclaration extends GraphicsResource
_parent, Disposing, Name, Tag
Constructor and Description |
---|
VertexDeclaration(int vertexStride,
VertexElement... elements)
Creates an instance of this object.
|
VertexDeclaration(VertexElement... elements)
Creates an instance of this object.
|
Modifier and Type | Method and Description |
---|---|
int |
getVertexStride() |
Dispose, Dispose, finalize, getGraphicsDevice, IsDisposed, raise_disposing, toString
public VertexDeclaration(VertexElement... elements)
elements
- An array of per-vertex elements.public VertexDeclaration(int vertexStride, VertexElement... elements)
vertexStride
- The number of bytes per element.elements
- An array of per-vertex elements.