Sdílet prostřednictvím


VertexBuffer Constructor

Initializes a new instance of the VertexBuffer class.

Overload List

Name Description
VertexBuffer (GraphicsDevice, Int32, ResourceUsage) Initializes a new instance of the VertexBuffer class, specifying the size in bytes of the vertex buffer.
VertexBuffer (GraphicsDevice, Int32, ResourceUsage, ResourceManagementMode) Initializes a new instance of the VertexBuffer class, specifying the size in bytes and the resource management mode to use for this vertex buffer resource.
VertexBuffer (GraphicsDevice, Type, Int32, ResourceUsage) Initializes a new instance of the VertexBuffer class, specifying the type and number of vertices in the buffer.
VertexBuffer (GraphicsDevice, Type, Int32, ResourceUsage, ResourceManagementMode) Initializes a new instance of the VertexBuffer class, specifying the resource management mode to use for this vertex buffer resource.

See Also

Reference

VertexBuffer Class
VertexBuffer Members
Microsoft.Xna.Framework.Graphics Namespace