Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_READRead access is requested for the CPU to the subresource. |
D3D10_DDI_MAP_WRITEWrite access is requested for the CPU to the subresource. |
D3D10_DDI_MAP_READWRITERead and write access is requested for the CPU to the subresource. |
D3D10_DDI_MAP_WRITE_DISCARDWrite 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_NOOVERWRITEWrite 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) |