Bewerken

Delen via


D3DDDI_COPY_FLAGS enumeration (d3dumddi.h)

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,
  D3DDDI_COPY_DISCARD
} ;

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

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header d3dumddi.h (include D3dumddi.h)