VertexBuffer¶
-
class
VertexBuffer
: GraphicsResource, System.IDisposable -
readonly int
VertexCount
-
readonly VertexDeclaration
VertexDeclaration
-
readonly BufferUsage
BufferUsage
-
void
GraphicsDeviceResetting
() The GraphicsDevice is resetting, so GPU resources must be recreated.
-
public void
GetData<T>
(int offsetInBytes, Microsoft.Xna.Framework.Graphics.T[] data, int startIndex, int elementCount, int vertexStride) Type Parameters: - T –
Parameters: - offsetInBytes (int) –
- data (Microsoft.Xna.Framework.Graphics.T[]) –
- startIndex (int) –
- elementCount (int) –
- vertexStride (int) –
-
public void
GetData<T>
(Microsoft.Xna.Framework.Graphics.T[] data, int startIndex, int elementCount) Type Parameters: - T –
Parameters: - data (Microsoft.Xna.Framework.Graphics.T[]) –
- startIndex (int) –
- elementCount (int) –
-
public void
GetData<T>
(Microsoft.Xna.Framework.Graphics.T[] data) Type Parameters: - T –
Parameters: - data (Microsoft.Xna.Framework.Graphics.T[]) –
-
public void
SetData<T>
(int offsetInBytes, Microsoft.Xna.Framework.Graphics.T[] data, int startIndex, int elementCount, int vertexStride) Type Parameters: - T –
Parameters: - offsetInBytes (int) –
- data (Microsoft.Xna.Framework.Graphics.T[]) –
- startIndex (int) –
- elementCount (int) –
- vertexStride (int) –
-
public void
SetData<T>
(Microsoft.Xna.Framework.Graphics.T[] data, int startIndex, int elementCount) Type Parameters: - T –
Parameters: - data (Microsoft.Xna.Framework.Graphics.T[]) –
- startIndex (int) –
- elementCount (int) –
-
public void
SetData<T>
(Microsoft.Xna.Framework.Graphics.T[] data) Type Parameters: - T –
Parameters: - data (Microsoft.Xna.Framework.Graphics.T[]) –
-
SharpDX.Direct3D11.Buffer
get_Buffer
()
-
readonly int