Compartir a través de


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)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration MeshFlags
'Usage
Dim instance As MeshFlags
[FlagsAttribute] 
public enum MeshFlags
[FlagsAttribute] 
public enum class MeshFlags
/** @attribute FlagsAttribute() */ 
public enum MeshFlags
FlagsAttribute 
public enum MeshFlags

Members

  Member name Description
Supported by the .NET Compact Framework DoNotClip Used for vertex and index buffers. 
Supported by the .NET Compact Framework Dynamic Equivalent to specifying both VbDynamic and IbDynamic
Supported by the .NET Compact Framework IbDynamic Specifies use of the Dynamic usage flag for index buffers. 
Supported by the .NET Compact Framework IbManaged Specifies use of the managed memory Pool class for index buffers. 
Supported by the .NET Compact Framework IbSystemMem Specifies use of the SystemMemory memory class for index buffers. 
Supported by the .NET Compact Framework IbWriteOnly Specifies use of the WriteOnly usage flag for index buffers. 
Supported by the .NET Compact Framework Managed Equivalent to specifying both VbManaged and IbManaged
Supported by the .NET Compact Framework OptimizeAttributeSort Reorders faces to optimize for fewer attribute bundle state changes and enhanced DrawSubset performance for a BaseMesh
Supported by the .NET Compact Framework OptimizeCompact Reorders faces to remove unused vertices and faces. 
Supported by the .NET Compact Framework OptimizeIgnoreVerts Optimizes the faces only; does not optimize the vertices. 
Supported by the .NET Compact Framework OptimizeStripReorder Reorders faces to maximize the length of adjacent triangles. 
Supported by the .NET Compact Framework OptimizeVertexCache Reorders faces to increase the cache hit rate of vertex caches. 
Supported by the .NET Compact Framework SystemMemory Equivalent to specifying both VbSystemMem and IbSystemMem
Supported by the .NET Compact Framework Use32Bit Specifies 32-bit indices instead of 16-bit indices for the mesh. 
Supported by the .NET Compact Framework VbDynamic Specifies use of the Dynamic usage flag for vertex buffers. 
Supported by the .NET Compact Framework VbManaged Specifies use of the memory class for vertex buffers. 
Supported by the .NET Compact Framework VbShare Forces the cloned meshes to share vertex buffers. 
Supported by the .NET Compact Framework VbSystemMem Specifies use of the SystemMemory memory class for vertex buffers. 
Supported by the .NET Compact Framework VbWriteOnly Specifies use of the WriteOnly usage flag for vertex buffers. 
Supported by the .NET Compact Framework WriteOnly Equivalent to specifying both VbWriteOnly and IbWriteOnly

Platforms

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Direct3D Programming