struttura D3D12_RESOURCE_ALLOCATION_INFO (d3d12.h)

Descrive i parametri necessari per allocare le risorse.

Sintassi

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

Membri

SizeInBytes

Tipo: UINT64

Dimensione, in byte, della risorsa.

Alignment

Tipo: UINT64

Valore di allineamento per la risorsa; uno dei 4 KB (4096), 64 KB (65536) o 4 MB (4194304).

Osservazioni

Questa struttura viene usata dai metodi di ID3D12Device::GetResourceAllocationInfo e ID3D12Device::GetResourceAllocationInfo1.

Fabbisogno

Requisito Valore
intestazione d3d12.h

Vedere anche

CD3DX12_RESOURCE_ALLOCATION_INFO

strutture principali