This topic has not yet been rated - Rate this topic

D3D10_MAP_FLAG enumeration

Applies to: desktop apps only

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

Syntax

typedef enum D3D10_MAP_FLAG {
  D3D10_MAP_FLAG_DO_NOT_WAIT   = 0x100000L 
} D3D10_MAP_FLAG;

Constants

D3D10_MAP_FLAG_DO_NOT_WAIT

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

Remarks

This enumeration is used by ID3D10Buffer::Map, ID3D10Texture1D::Map, ID3D10Texture2D::Map, and ID3D10Texture3D::Map.

D3D10_MAP_FLAG_DO_NOT_WAIT cannot be used with D3D10_MAP_WRITE_DISCARD 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).

Requirements

Header

D3D10.h

See also

Resource Enumerations

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ