VertexBufferBinding Structure (Microsoft.Xna.Framework.Graphics)

Defines how a vertex buffer is bound to the graphics device for rendering.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = -1, Size = -1)]
public struct VertexBufferBinding

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The VertexBufferBinding type exposes the following members.

  Platforms Name Description
VertexBufferBinding(VertexBuffer) Creates an instance of VertexBufferBinding
VertexBufferBinding(VertexBuffer, int) Creates an instance of VertexBufferBinding
VertexBufferBinding(VertexBuffer, int, int) Creates an instance of VertexBufferBinding. 
Top
  Platforms Name Description
InstanceFrequency Gets the number of instances to draw using the same per-instance data before advancing in the buffer by one element. 
VertexBuffer Gets the vertex buffer. 
VertexOffset Gets the index of the first vertex in the vertex buffer to use. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web