DynamicVertexBuffer Class (Microsoft.Xna.Framework.Graphics)

System.Object
   Microsoft.Xna.Framework.Graphics.GraphicsResource
      Microsoft.Xna.Framework.Graphics.VertexBuffer
         Microsoft.Xna.Framework.Graphics.DynamicVertexBuffer

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public class DynamicVertexBuffer : VertexBuffer

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The DynamicVertexBuffer type exposes the following members.

  Platforms Name Description
BufferUsage  (Inherited from VertexBuffer.)
GraphicsDevice  (Inherited from GraphicsResource.)
IsContentLost  
IsDisposed  (Inherited from GraphicsResource.)
Name  (Inherited from GraphicsResource.)
Tag  (Inherited from GraphicsResource.)
VertexCount  (Inherited from VertexBuffer.)
VertexDeclaration  (Inherited from VertexBuffer.)
Top
  Platforms Name Description
Dispose(bool) The method that derived classes should override to implement disposing of managed and native resources. (Inherited from VertexBuffer.)
Dispose()  (Inherited from GraphicsResource.)
Finalize  (Inherited from GraphicsResource.)
GetData<T>(T[], int, int)  (Inherited from VertexBuffer.)
GetData<T>(int, T[], int, int, int) Get the vertex data froom this VertexBuffer. (Inherited from VertexBuffer.)
GetData<T>(T[])  (Inherited from VertexBuffer.)
GraphicsDeviceResetting The GraphicsDevice is resetting, so GPU resources must be recreated. (Inherited from VertexBuffer.)
SetData<T>(T[], int, int, SetDataOptions)  
SetData<T>(int, T[], int, int, int, SetDataOptions)  
SetData<T>(int, T[], int, int, int) Sets the vertex buffer data, specifying the index at which to start copying from the source data array, the number of elements to copy from the source data array, and how far apart elements from the source data array should be when they are copied into the vertex buffer. (Inherited from VertexBuffer.)
SetData<T>(T[]) Sets the vertex buffer data. This is the same as calling SetData<T>(int, T[], int, int, int) with offsetInBytes and startIndex equal to 0, elementCount equal to data.Length, and vertexStride equal to sizeof(T). (Inherited from VertexBuffer.)
SetData<T>(T[], int, int) Sets the vertex buffer data, specifying the index at which to start copying from the source data array, and the number of elements to copy from the source data array. This is the same as calling SetData<T>(int, T[], int, int, int) with offsetInBytes equal to 0, and vertexStride equal to sizeof(T). (Inherited from VertexBuffer.)
SetDataInternal<T>  (Inherited from VertexBuffer.)
ToString  (Inherited from GraphicsResource.)
Top
  Platforms Name Description
Disposing  (Inherited from GraphicsResource.)
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web