D3DDDI_COPY_FLAGS enumeration
Specifies how to handle the existing contents of a resource during a copy or update operation of a region within that resource.
Syntax
typedef enum D3DDDI_COPY_FLAGS { D3DDDI_COPY_NO_OVERWRITE = 0x00000001, D3DDDI_COPY_DISCARD = 0x00000002 } D3DDDI_COPY_FLAGS;
Constants
- D3DDDI_COPY_NO_OVERWRITE
-
The caller guarantees that the portion of the surface that is being written to with new data is not currently being referenced or accessed by any previous render operation. The driver can take advantage of this capability to optimize performance and memory usage.
- D3DDDI_COPY_DISCARD
-
The user-mode display driver can discard previous contents of the entire resource. The driver can take advantage of this capability to optimize performance and memory usage.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Header |
|
Send comments about this topic to Microsoft
Build date: 11/29/2012