VertexBuffer Methods

The VertexBuffer type exposes the following members.

  Name Description
Public method Dispose() Immediately releases the unmanaged resources used by this object. (Inherited from GraphicsResource.)
Protected method Dispose(Boolean) Immediately releases the unmanaged resources used by this object. (Inherited from GraphicsResource.)
Protected method Finalize Allows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object. (Inherited from GraphicsResource.)
Public method SetData<T>(T[]) Sets vertex buffer data.
Public method SetData<T>(T[], Int32, Int32) Sets vertex buffer data, specifying the start index and number of elements.
Public method SetData<T>(Int32, T[], Int32, Int32, Int32) Sets vertex buffer data, specifying the offset, start index, number of elements, and the vertex stride.
Top

Community Additions

ADD
Show: