VertexBuffer Members
Manipulates vertex buffer resources.
The following tables list the members exposed by the VertexBuffer type.
Public Constructors
Name | Description | |
---|---|---|
VertexBuffer | Overloaded. Initializes a new instance of the VertexBuffer class. |
Top
Public 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
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the VertexBuffer. | |
Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) | |
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. | |
PreLoad | Preloads a managed resource. (inherited from Resource) | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) | |
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
Protected Methods
Name | Description | |
---|---|---|
Finalize | Overridden. | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Top
Public 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
See Also
Reference
VertexBuffer Class
Microsoft.WindowsMobile.DirectX.Direct3D Namespace