CD3DX12_RESOURCE_ALLOCATION_INFO structure

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

Syntax

struct CD3DX12_RESOURCE_ALLOCATION_INFO  : public D3D12_RESOURCE_ALLOCATION_INFO{
   CD3DX12_RESOURCE_ALLOCATION_INFO();
   explicit CD3DX12_RESOURCE_ALLOCATION_INFO(const D3D12_RESOURCE_ALLOCATION_INFO& o);
   CD3DX12_RESOURCE_ALLOCATION_INFO(UINT64 size, UINT64 alignment);
   operator const D3D12_RESOURCE_ALLOCATION_INFO&() const;
};

Members

CD3DX12_RESOURCE_ALLOCATION_INFO()

Creates a new, uninitialized, instance of a CD3DX12_RESOURCE_ALLOCATION_INFO.

explicit CD3DX12_RESOURCE_ALLOCATION_INFO(const D3D12_RESOURCE_ALLOCATION_INFO& o)

Creates a new instance of a CD3DX12_RESOURCE_ALLOCATION_INFO, initialized with the contents of another D3D12_RESOURCE_ALLOCATION_INFO structure.

CD3DX12_RESOURCE_ALLOCATION_INFO(UINT64 size, UINT64 alignment)

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

UINT64 size

UINT64 alignment

operator const D3D12_RESOURCE_ALLOCATION_INFO&() const

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

Requirements

Requirement Value
Header
D3dx12.h

See also

D3D12_RESOURCE_ALLOCATION_INFO

Helper Structures for D3D12