MeshOptions Structure

Language:

Specifies the type of mesh optimization to perform.

Definition

Visual Basic Public Structure MeshOptions
C# public struct MeshOptions 
C++ public value class MeshOptions sealed 
JScript In JScript, 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.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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