CD3DX12_TEXTURE_COPY_LOCATION structure

A helper structure to enable easy initialization of a D3D12_TEXTURE_COPY_LOCATION structure.

Syntax

struct CD3DX12_TEXTURE_COPY_LOCATION  : public D3D12_TEXTURE_COPY_LOCATION{
   CD3DX12_TEXTURE_COPY_LOCATION();
   explicit CD3DX12_TEXTURE_COPY_LOCATION(const D3D12_TEXTURE_COPY_LOCATION &o);
   CD3DX12_TEXTURE_COPY_LOCATION(ID3D12Resource* pRes);
   CD3DX12_TEXTURE_COPY_LOCATION(ID3D12Resource* pRes, D3D12_PLACED_SUBRESOURCE_FOOTPRINT const& Footprint);
   CD3DX12_TEXTURE_COPY_LOCATION(ID3D12Resource* pRes, UINT Sub);
};

Members

CD3DX12_TEXTURE_COPY_LOCATION()

Creates a new, uninitialized, instance of a CD3DX12_TEXTURE_COPY_LOCATION.

explicit CD3DX12_TEXTURE_COPY_LOCATION(const D3D12_TEXTURE_COPY_LOCATION &o)

Creates a new instance of a CD3DX12_TEXTURE_COPY_LOCATION, initialized with the contents of another D3D12_TEXTURE_COPY_LOCATION structure.

CD3DX12_TEXTURE_COPY_LOCATION(ID3D12Resource* pRes)

Creates a new instance of a CD3DX12_TEXTURE_COPY_LOCATION, initializing the following parameters:

ID3D12Resource* pRes

CD3DX12_TEXTURE_COPY_LOCATION(ID3D12Resource* pRes, D3D12_PLACED_SUBRESOURCE_FOOTPRINT const& Footprint)

Creates a new instance of a CD3DX12_TEXTURE_COPY_LOCATION, initializing the following parameters:

ID3D12Resource* pRes

D3D12_PLACED_SUBRESOURCE_FOOTPRINT const& Footprint

CD3DX12_TEXTURE_COPY_LOCATION(ID3D12Resource* pRes, UINT Sub)

Creates a new instance of a CD3DX12_TEXTURE_COPY_LOCATION, initializing the following parameters:

ID3D12Resource* pRes

UINT Sub

Requirements

Requirement Value
Header
D3dx12.h

See also

D3D12_TEXTURE_COPY_LOCATION

Helper Structures for D3D12