Microsoft DirectX 9.0 SDK Update (October 2004)

MeshOptions Structure

Language:

Note: This documentation is preliminary and is subject to change.

Specifies the type of mesh optimization to perform.

Definition

Visual Basic .NET Public Structure MeshOptions
C# public struct MeshOptions
Managed C++ public __value struct MeshOptions
JScript .NET In JScript .NET, you can use structures, but you cannot define your own.

Members Table

Method Description
MeshOptions Initializes a new instance of the MeshOptions class.
ToString Obtains a string representation of the current instance.
Property Description
DoNotClip Specifies whether Usage.DoNotClip should be used for vertex and index buffers.
Dynamic Specifies whether Usage.Dynamic should be used for vertex and index buffers.
IndexBufferDynamic Specifies whether Usage.Dynamic should be used for index buffers.
IndexBufferManaged Specifies whether Pool.Managed should be used for index buffers.
IndexBufferSoftwareProcessing Specifies whether Usage.SoftwareProcessing should be used for index buffers.
IndexBufferSystemMem Specifies whether Pool.SystemMemory should be used for index buffers.
IndexBufferWriteOnly Specifies whether Usage.WriteOnly should be used for index buffers.
Managed Specifies whether Pool.Managed should be used for vertex and index buffers.
NPatches Specifies whether the index and vertex buffers of the mesh should be created with Usage.NPatches.
Points Specifies whether Usage.Points should be used for index and vertex buffers.
RtPatches Specifies whether Usage.RTPatches should be used for index and vertex buffers.
SoftwareProcessing Specifies whether Usage.SoftwareProcessing should be used for vertex and index buffers.
SystemMem Specifies whether Pool.SystemMemory should be used for vertex and index buffers.
Use32Bit Specifies whether the mesh uses 32-bit indices instead of 16-bit indices.
Value Specifies creation options for a mesh.
VertexBufferDynamic Specifies whether Usage.Dynamic should be used for vertex buffers.
VertexBufferManaged Specifies whether Pool.Managed should be used for vertex buffers.
VertexBufferSoftwareProcessing Specifies whether Usage.SoftwareProcessing should be used for vertex buffers.
VertexBufferSystemMem Specifies whether Pool.SystemMemory should be used for vertex buffers.
VertexBufferWriteOnly Specifies whether Usage.WriteOnly should be used for vertex buffers.
WriteOnly Specifies whether Usage.WriteOnly should be used for vertex and index buffers.

Structure Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center