MapFlags Enumeration
Last Update: Dec 2012

MapFlags Enumeration (SharpDX.Direct3D10)

Specifies how the CPU should respond when Map is called on a resource being used by the GPU.

Assembly: SharpDX.Direct3D10 (SharpDX.Direct3D10.dll
Namespace: SharpDX.Direct3D10
Unmanaged: D3D10_MAP_FLAG
Documentation for unmanaged references are generated from MSDN documentation. Please refer to the original documentation for further details.
  • C#
  • VB
  • C++
  • F#
public enum MapFlags

Syntax for VB is not yet implemented.

Syntax for C++ is not yet implemented

Syntax for F# is not yet implemented.

The MapFlags type exposes the following members.

  Platforms Name Unmanaged Description

Specifies that Map should return WasStillDrawing when the GPU blocks the CPU from accessing a resource.

None None None. 

This enumeration is used by Map, SharpDX.Direct3D10.Texture1D.Map, SharpDX.Direct3D10.Texture2D.Map, and SharpDX.Direct3D10.Texture3D.Map.

DoNotWait cannot be used with WriteDiscard or D3D10_MAP_WRITE_NOOVERWRITE.

For more information about potential conflicts between the GPU and CPU during resource mapping, see Copying and Accessing Resource Data (Direct3D 10).

Supported in:

 All Windows Desktop - .NET 2.0+ - .NET 4.0+