Note
This enumeration is supported by the Direct3D 11.1 runtime, which is available on Windows 8 and later operating systems.
Specifies how to handle the existing contents of a resource during a copy or update operation of a region within that resource.
typedef enum D3D11_COPY_FLAGS
{
D3D11_COPY_NO_OVERWRITE = 0x1,
D3D11_COPY_DISCARD = 0x2
} D3D11_COPY_FLAGS;
| Constant | Description |
|---|---|
| D3D11_COPY_NO_OVERWRITE | The existing contents of the resource cannot be overwritten. |
| D3D11_COPY_DISCARD | The existing contents of the resource are undefined and can be discarded. |
Header: Declared in d3d11_x.h (d3d11_1.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).