D3D10_DDI_MAP enumeration (d3d10umddi.h)
The D3D10_DDI_MAP enumeration type contains values that identify the access levels to map to a subresource in a call to the driver's ResourceMap function.
Syntax
typedef enum D3D10_DDI_MAP {
D3D10_DDI_MAP_READ,
D3D10_DDI_MAP_WRITE,
D3D10_DDI_MAP_READWRITE,
D3D10_DDI_MAP_WRITE_DISCARD,
D3D10_DDI_MAP_WRITE_NOOVERWRITE
} ;
Constants
D3D10_DDI_MAP_READ Read access is requested for the CPU to the subresource. |
D3D10_DDI_MAP_WRITE Write access is requested for the CPU to the subresource. |
D3D10_DDI_MAP_READWRITE Read and write access is requested for the CPU to the subresource. |
D3D10_DDI_MAP_WRITE_DISCARD Write access is requested for the CPU to the subresource. However, the contents of the subresource become undefined during this operation because the requesting application might completely write over the entire region of memory. You can use this access level only with dynamic resources. |
D3D10_DDI_MAP_WRITE_NOOVERWRITE Write access is requested for the CPU to the subresource. However, the requesting application will not overwrite any data that was previously used by the GPU. You can use this access level only with dynamic vertex and index buffers. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Header | d3d10umddi.h (include D3d10umddi.h) |