D3D10_MAP_FLAG enumeration
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 |
|
|---|
See also