CD3DX12_SUBRESOURCE_FOOTPRINT structure

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

Syntax

struct CD3DX12_SUBRESOURCE_FOOTPRINT  : public D3D12_SUBRESOURCE_FOOTPRINT{
   CD3DX12_SUBRESOURCE_FOOTPRINT();
   explicit CD3DX12_SUBRESOURCE_FOOTPRINT(const D3D12_SUBRESOURCE_FOOTPRINT &o);
   CD3DX12_SUBRESOURCE_FOOTPRINT(DXGI_FORMAT format, UINT width, UINT height, UINT depth, UINT rowPitch);
   explicit CD3DX12_SUBRESOURCE_FOOTPRINT(const D3D12_RESOURCE_DESC& resDesc, UINT rowPitch);
   operator const D3D12_SUBRESOURCE_FOOTPRINT&() const;
};

Members

CD3DX12_SUBRESOURCE_FOOTPRINT()

Creates a new, uninitialized, instance of a CD3DX12_SUBRESOURCE_FOOTPRINT.

explicit CD3DX12_SUBRESOURCE_FOOTPRINT(const D3D12_SUBRESOURCE_FOOTPRINT &o)

Creates a new instance of a CD3DX12_SUBRESOURCE_FOOTPRINT, initialized with the contents of another D3D12_SUBRESOURCE_FOOTPRINT structure.

CD3DX12_SUBRESOURCE_FOOTPRINT(DXGI_FORMAT format, UINT width, UINT height, UINT depth, UINT rowPitch)

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

DXGI_FORMAT format

UINT width

UINT height

UINT depth

UINT rowPitch

explicit CD3DX12_SUBRESOURCE_FOOTPRINT(const D3D12_RESOURCE_DESC& resDesc, UINT rowPitch)

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

D3D12_RESOURCE_DESC& resDesc

UINT rowPitch

operator const D3D12_SUBRESOURCE_FOOTPRINT&() const

Defines the & pass-by-reference operator for the parent structure type.

Requirements

Requirement Value
Header
D3dx12.h

See also

D3D12_SUBRESOURCE_FOOTPRINT

Helper Structures for D3D12