Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D3D11_COPY_FLAGS enumeration

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.

Syntax


typedef enum D3D11_COPY_FLAGS { 
  D3D11_COPY_NO_OVERWRITE  = 0x1,
  D3D11_COPY_DISCARD       = 0x2
} D3D11_COPY_FLAGS;

Constants

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.

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps only]

Header

D3D11_1.h

See also

Core Enumerations
ID3D11DeviceContext1::CopySubresourceRegion1
ID3D11DeviceContext1::UpdateSubresource1

 

 

Show:
© 2017 Microsoft