struttura D3D12_RESOURCE_ALLOCATION_INFO1 (d3d12.h)

Descrive i parametri necessari per allocare le risorse, incluso l'offset.

Sintassi

typedef struct D3D12_RESOURCE_ALLOCATION_INFO1 {
  UINT64 Offset;
  UINT64 Alignment;
  UINT64 SizeInBytes;
} D3D12_RESOURCE_ALLOCATION_INFO1;

Membri

Offset

Tipo: UINT64

Offset, 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).

SizeInBytes

Tipo: UINT64

Dimensione, in byte, della risorsa.

Osservazioni

Questa struttura viene usata dal metodo ID3D12Device::GetResourceAllocationInfo1.

Fabbisogno

Requisito Valore
client minimo supportato Windows 10 Build 20348
server minimo supportato Windows 10 Build 20348
intestazione d3d12.h

Vedere anche

strutture principali