MeshFlags Enumeration
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Defines flags used to specify creation options for a mesh.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)
Syntax
'Declaration
<FlagsAttribute> _
Public Enumeration MeshFlags
'Usage
Dim instance As MeshFlags
[FlagsAttribute]
public enum MeshFlags
[FlagsAttribute]
public enum class MeshFlags
[<FlagsAttribute>]
type MeshFlags
Members
Member name | Description | |
---|---|---|
OptimizeCompact | Reorders faces to remove unused vertices and faces. | |
OptimizeAttributeSort | Reorders faces to optimize for fewer attribute bundle state changes and enhanced DrawSubset performance for a BaseMesh. | |
OptimizeVertexCache | Reorders faces to increase the cache hit rate of vertex caches. | |
OptimizeStripReorder | Reorders faces to maximize the length of adjacent triangles. | |
OptimizeIgnoreVerts | Optimizes the faces only; does not optimize the vertices. | |
Use32Bit | Specifies 32-bit indices instead of 16-bit indices for the mesh. | |
DoNotClip | Used for vertex and index buffers. | |
VbSystemMem | Specifies use of the SystemMemory memory class for vertex buffers. | |
VbManaged | Specifies use of the memory class for vertex buffers. | |
VbWriteOnly | Specifies use of the WriteOnly usage flag for vertex buffers. | |
VbDynamic | Specifies use of the Dynamic usage flag for vertex buffers. | |
IbSystemMem | Specifies use of the SystemMemory memory class for index buffers. | |
IbManaged | Specifies use of the managed memory Pool class for index buffers. | |
IbWriteOnly | Specifies use of the WriteOnly usage flag for index buffers. | |
IbDynamic | Specifies use of the Dynamic usage flag for index buffers. | |
VbShare | Forces the cloned meshes to share vertex buffers. | |
SystemMemory | Equivalent to specifying both VbSystemMem and IbSystemMem. | |
Managed | Equivalent to specifying both VbManaged and IbManaged. | |
WriteOnly | Equivalent to specifying both VbWriteOnly and IbWriteOnly. | |
Dynamic | Equivalent to specifying both VbDynamic and IbDynamic. |
Platforms
Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Compact Framework
Supported in: 3.5, 2.0
See Also
Reference
Microsoft.WindowsMobile.DirectX.Direct3D Namespace