VertexBufferBinding Constructor (VertexBuffer, Int32)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Initializes a new instance of the VertexBufferBinding class using the specified VertexBuffer and vertex offset.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in Microsoft.Xna.Framework.Graphics.dll)
Syntax
'Declaration
Public Sub New ( _
vertexBuffer As VertexBuffer, _
vertexOffset As Integer _
)
public VertexBufferBinding(
VertexBuffer vertexBuffer,
int vertexOffset
)
Parameters
- vertexBuffer
Type: Microsoft.Xna.Framework.Graphics.VertexBuffer
The vertex buffer.
- vertexOffset
Type: System.Int32
Offset (in bytes) from the beginning of the buffer to the first vertex to use.
Version Information
Silverlight
Supported in: 5
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.