D3D12_RESOURCE_ALLOCATION_INFO structure

Describes parameters needed to allocate resources.

Syntax

typedef struct D3D12_RESOURCE_ALLOCATION_INFO {
  UINT64 SizeInBytes;
  UINT64 Alignment;
} D3D12_RESOURCE_ALLOCATION_INFO;

Members

SizeInBytes

The size, in bytes, of the resource.

Alignment

The alignment value for the resource; one of 4KB (4096), 64KB (65536) and 4MB (4194304) alignment.

Remarks

This structure is used by the GetResourceAllocationInfo method.

Requirements

   
Header d3d12.h

See Also

CD3DX12_RESOURCE_ALLOCATION_INFO

Core Structures