Export (0) Print
Expand All
Expand Minimize

MeshFlags Enumeration

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)

[FlagsAttribute] 
public enum MeshFlags
/** @attribute FlagsAttribute() */ 
public enum MeshFlags
FlagsAttribute 
public enum MeshFlags

 Member nameDescription
Supported by the .NET Compact FrameworkDoNotClipUsed for vertex and index buffers. 
Supported by the .NET Compact FrameworkDynamicEquivalent to specifying both VbDynamic and IbDynamic
Supported by the .NET Compact FrameworkIbDynamicSpecifies use of the Dynamic usage flag for index buffers. 
Supported by the .NET Compact FrameworkIbManagedSpecifies use of the managed memory Pool class for index buffers. 
Supported by the .NET Compact FrameworkIbSystemMemSpecifies use of the SystemMemory memory class for index buffers. 
Supported by the .NET Compact FrameworkIbWriteOnlySpecifies use of the WriteOnly usage flag for index buffers. 
Supported by the .NET Compact FrameworkManagedEquivalent to specifying both VbManaged and IbManaged
Supported by the .NET Compact FrameworkOptimizeAttributeSortReorders faces to optimize for fewer attribute bundle state changes and enhanced DrawSubset performance for a BaseMesh
Supported by the .NET Compact FrameworkOptimizeCompactReorders faces to remove unused vertices and faces. 
Supported by the .NET Compact FrameworkOptimizeIgnoreVertsOptimizes the faces only; does not optimize the vertices. 
Supported by the .NET Compact FrameworkOptimizeStripReorderReorders faces to maximize the length of adjacent triangles. 
Supported by the .NET Compact FrameworkOptimizeVertexCacheReorders faces to increase the cache hit rate of vertex caches. 
Supported by the .NET Compact FrameworkSystemMemoryEquivalent to specifying both VbSystemMem and IbSystemMem
Supported by the .NET Compact FrameworkUse32BitSpecifies 32-bit indices instead of 16-bit indices for the mesh. 
Supported by the .NET Compact FrameworkVbDynamicSpecifies use of the Dynamic usage flag for vertex buffers. 
Supported by the .NET Compact FrameworkVbManagedSpecifies use of the memory class for vertex buffers. 
Supported by the .NET Compact FrameworkVbShareForces the cloned meshes to share vertex buffers. 
Supported by the .NET Compact FrameworkVbSystemMemSpecifies use of the SystemMemory memory class for vertex buffers. 
Supported by the .NET Compact FrameworkVbWriteOnlySpecifies use of the WriteOnly usage flag for vertex buffers. 
Supported by the .NET Compact FrameworkWriteOnlyEquivalent to specifying both VbWriteOnly and IbWriteOnly

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Compact Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft