ProgressiveMesh Class (Microsoft.DirectX.Direct3D)
Manipulates progressive mesh objects.
Definition
Visual Basic NotInheritable Public Class ProgressiveMesh
Inherits BaseMeshC# public sealed class ProgressiveMesh : BaseMesh C++ public ref class ProgressiveMesh sealed : BaseMesh JScript public final class ProgressiveMesh extends BaseMesh
Members Table
The following table lists the members exposed by the object.
Events
Event Description Disposing Occurs when the Dispose method is called or when the ProgressiveMesh object is finalized and collected by the garbage collector of the .NET common language runtime. Methods
Method Description Clone Clones, or copies, a mesh object. Inherited from BaseMesh. ComputeNormals Computes normals for each vertex in a mesh. Inherited from BaseMesh. ConvertAdjacencyToPointReps Converts mesh adjacency information to an array of point representatives. Inherited from BaseMesh. ConvertPointRepsToAdjacency Converts point representative data to mesh adjacency information. Inherited from BaseMesh. Dispose Immediately releases the unmanaged resources used by the ProgressiveMesh object. DrawSubset Draws a subset of a mesh. Inherited from BaseMesh. Equals Returns a value that indicates whether the current instance is equal to a specified object. Finalize Allows the ProgressiveMesh object to free resources before it is destroyed by the garbage collector. GenerateAdjacency Generates adjacency information based on mesh indices. Inherited from BaseMesh. GetAttributeTable Retrieves an attribute table for a mesh. Inherited from BaseMesh. GetHashCode Returns the hash code for the current instance. GetObjectByValue This member supports the infrastructure for Microsoft DirectX 9.0 for Managed Code and is not intended to be used directly from your code. LockIndexBuffer Locks an index buffer and obtains the index buffer data. Inherited from BaseMesh. LockVertexBuffer Locks a vertex buffer and obtains a pointer to the vertex buffer memory. Inherited from BaseMesh. op_Equality Compares the current instance of a class to another instance to determine whether they are the same. Inherited from BaseMesh. op_Equality Compares the current instance of a class to another instance to determine whether they are the same. op_Inequality Compares the current instance of a class to another instance to determine whether they are different. Inherited from BaseMesh. op_Inequality Compares the current instance of a class to another instance to determine whether they are different. Optimize Generates an output mesh with reordered faces and vertices to optimize performance. OptimizeBaseLevelOfDetail Optimizes the base level of detail (LOD) part of a ProgressiveMesh object. ProgressiveMesh Creates a new instance of the ProgressiveMesh class. raise_Disposing Raises the Microsoft.DirectX.Direct3D.ProgressiveMesh.Disposing event when called from within a derived class. SetIndexBufferData Sets index buffer data. Inherited from BaseMesh. SetVertexBufferData Sets vertex buffer data. Inherited from BaseMesh. TrimByFaces Modifies the minimum and maximum level of detail (LOD) of a ProgressiveMesh object. TrimByVertices Modifies the minimum and maximum level of detail (LOD) of a ProgressiveMesh object. UnlockIndexBuffer Unlocks an index buffer. Inherited from BaseMesh. UnlockVertexBuffer Unlocks a vertex buffer. Inherited from BaseMesh. UpdateSemantics Allows the user to change the mesh declaration without changing the data layout of the vertex buffer. The call is valid only if the old and new declaration formats have the same vertex size. Inherited from BaseMesh. UpdateUnmanagedPointer Updates the unmanaged pointer for this BaseMesh object. This method supports the Microsoft .NET Framework infrastructure and is not intended to be used directly in your code. Inherited from BaseMesh. UpdateUnmanagedPointer Updates the unmanaged pointer for this ProgressiveMesh object. This method supports the Framework infrastructure and is not intended to be used directly in your code. Properties
Property Description Adjacency Retrieves the face adjacency array of the mesh. Declaration Retrieves a declaration that describes the vertices in a mesh. Inherited from BaseMesh. Device Retrieves the device associated with a mesh. Inherited from BaseMesh. Disposed Gets a value that indicates whether the object is disposed. IndexBuffer Retrieves the data in an index buffer. Inherited from BaseMesh. MaxFaces Retrieves the maximum number of faces that a progressive mesh can support. MaxVertices Retrieves the maximum number of vertices that a progressive mesh can support. MinFaces Retrieves the minimum number of faces that a progressive mesh can support. MinVertices Retrieves the minimum number of vertices that a progressive mesh can support. NumberAttributes Retrieves the number of entries stored in an attribute table for a mesh. Inherited from BaseMesh. NumberBytesPerVertex Retrieves the number of bytes per vertex. Inherited from BaseMesh. NumberFaces Retrieves the currently set number of faces, or sets the current level of detail (LOD) to as close to the specified number of faces as possible. NumberVertices Sets the current level of detail (LOD) to as close to the specified number of vertices as possible. Options Retrieves the mesh options enabled for the current mesh at creation time. Inherited from BaseMesh. UnmanagedComPointer Returns the unmanaged Component Object Model (COM) ID3DXBaseMesh interface pointer. Inherited from BaseMesh. UnmanagedComPointer Returns the unmanaged COM ID3DXPMesh interface pointer. VertexBuffer Retrieves the vertex buffer of a mesh. Inherited from BaseMesh. VertexFormat Retrieves the vertex format that describes the contents of vertices. Inherited from BaseMesh.
Inheritance Hierarchy
ProgressiveMesh
Remarks
A progressive mesh enables progressive refinement of the mesh object.
This interface inherits additional functionality from the BaseMesh class.
Class Information
Namespace Microsoft.DirectX.Direct3D Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll) Strong Name Microsoft.DirectX.Direct3DX, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492