VertexBufferBinding Constructor (VertexBuffer, Int32)
Creates an instance of this object.
Syntax
'Declaration
Public Sub New ( _
vertexBuffer As VertexBuffer, _
vertexOffset As Integer _
)
public VertexBufferBinding (
VertexBuffer vertexBuffer,
int vertexOffset
)
public:
VertexBufferBinding(
VertexBuffer vertexBuffer,
int vertexOffset
)
Parameters
- vertexBuffer
Type: VertexBuffer
The vertex buffer. - vertexOffset
Type: Int32
Offset (in vertices) from the beginning of the buffer to the first vertex to use.
Requirements
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)
See Also
Reference
VertexBufferBinding Structure
VertexBufferBinding Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Windows Phone