Condividi tramite


VertexBuffer Members

Manipulates vertex buffer resources.

The following tables list the members exposed by the VertexBuffer type.

Public Constructors

  Name Description
Public method Supported by the .NET Compact Framework VertexBuffer Overloaded. Initializes a new instance of the VertexBuffer class.

Top

Public Properties

  Name Description
Public property Supported by the .NET Compact Framework Description Retrieves a description of the vertex buffer resource.
Public property Supported by the .NET Compact Framework Device  Retrieves the device associated with a resource.(inherited from Resource)
Public property Supported by the .NET Compact Framework Disposed Gets a value that indicates whether the object is disposed.
Public property Supported by the .NET Compact Framework Priority  Retrieves or sets the priority for the current resource.(inherited from Resource)
Public property Supported by the .NET Compact Framework SizeInBytes Retrieves the size of the VertexBuffer data, in bytes.
Public property Supported by the .NET Compact Framework Type  Retrieves the type of a resource.(inherited from Resource)

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Supported by the .NET Compact Framework Dispose Releases all resources used by the VertexBuffer.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Lock Overloaded. Locks a range of vertex data and obtains the vertex buffer memory.
Public method Supported by the .NET Compact Framework PreLoad  Preloads a managed resource. (inherited from Resource)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework SetData Locks, sets, and unlocks a range of vertex data.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Supported by the .NET Compact Framework Unlock Unlocks vertex data.

Top

Protected Methods

  Name Description
Protected method Supported by the .NET Compact Framework Finalize Overridden.  
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Top

Public Events

  Name Description
Public event Supported by the .NET Compact Framework Created Occurs after a device is reset and the VertexBuffer is re-created.
Public event Supported by the .NET Compact Framework 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

Other Resources

Direct3D Programming