This topic has not yet been rated - Rate this topic

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

ID3D11DeviceContext1::CopySubresourceRegion1
ID3D11DeviceContext1::UpdateSubresource1

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.