Usage Enumeration

Defines supported usage types for the current resource.

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 Usage
'Usage
Dim instance As Usage
[FlagsAttribute] 
public enum Usage
[FlagsAttribute] 
public enum class Usage
/** @attribute FlagsAttribute() */ 
public enum Usage
FlagsAttribute 
public enum Usage

Members

  Member name Description
Supported by the .NET Compact Framework DoNotClip Indicates that the vertex buffer content will never require clipping. When rendering with buffers that have this flag set, the Clipping property for a RenderStateManager must be set to false
Supported by the .NET Compact Framework Dynamic Indicates that the vertex buffer requires dynamic memory use, which is useful for drivers because it enables them to determine where to place the buffer. In general, static vertex buffers are placed in video memory and dynamic vertex buffers are placed in accelerated graphics port (AGP) memory. Note that there is no separate static use. If Dynamic is not specified, the vertex buffer is made static. 
Supported by the .NET Compact Framework Lockable Indicates that the resource is lockable. 
Supported by the .NET Compact Framework None Specifies no usage type for the current resource. 
Supported by the .NET Compact Framework RenderTarget Specifies that the resource will be a render target. 
Supported by the .NET Compact Framework Texture Indicates that the resource can be used as a texture. 
Supported by the .NET Compact Framework WriteOnly Informs the system that the application writes only to the vertex buffer. Using this flag enables the driver to choose the best memory location, which results in efficient write operations and rendering. Attempts to read from a vertex buffer created with this capability will fail. 

Platforms

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.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Mobile Direct3D Programming