VertexBuffer Members
Include Protected Members
Include Inherited Members
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
Manipulates vertex buffer resources.
The VertexBuffer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VertexBuffer | Overloaded. Initializes a new instance of the VertexBuffer class. |
Top
Methods
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the VertexBuffer. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Overrides Object.Finalize().) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
Lock | Overloaded. Locks a range of vertex data and obtains the vertex buffer memory. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PreLoad | Preloads a managed resource. (Inherited from Resource.) | |
SetData | Locks, sets, and unlocks a range of vertex data. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Unlock | Unlocks vertex data. |
Top
Properties
Name | Description | |
---|---|---|
Description | Retrieves a description of the vertex buffer resource. | |
Device | Retrieves the device associated with a resource. (Inherited from Resource.) | |
Disposed | Gets a value that indicates whether the object is disposed. | |
Priority | Retrieves or sets the priority for the current resource. (Inherited from Resource.) | |
SizeInBytes | Retrieves the size of the VertexBuffer data, in bytes. | |
Type | Retrieves the type of a resource. (Inherited from Resource.) |
Top
Events
Name | Description | |
---|---|---|
Created | Occurs after a device is reset and the VertexBuffer is re-created. | |
Disposing | Occurs when the Dispose method is called or when the VertexBuffer object is finalized and collected by the garbage collector. |
Top