Share via


Metodo ID3D12Device1::SetResidencyPriority (d3d12.h)

Questo metodo imposta le priorità di residenza di un elenco specificato di oggetti.

Sintassi

HRESULT SetResidencyPriority(
       UINT                           NumObjects,
  [in] ID3D12Pageable                 * const *ppObjects,
  [in] const D3D12_RESIDENCY_PRIORITY *pPriorities
);

Parametri

NumObjects

Tipo: UINT

Specifica il numero di oggetti nelle matrici ppObjects e pPriorities .

[in] ppObjects

Tipo: ID3D12Pageable*

Specifica una matrice, di lunghezza NumObjects, contenente riferimenti agli oggetti ID3D12Pageable .

[in] pPriorities

Tipo: const D3D12_RESIDENCY_PRIORITY*

Specifica una matrice, di lunghezza NumObjects, di valori D3D12_RESIDENCY_PRIORITY per l'elenco di oggetti.

Valore restituito

Tipo: HRESULT

Questo metodo restituisce un codice di esito positivo o di errore HRESULT.

Commenti

Per altre informazioni, vedere Residenza.

Requisiti

Requisito Valore
Piattaforma di destinazione Windows
Intestazione d3d12.h
Libreria D3d12.lib
DLL D3d12.dll

Vedi anche

ID3D12Device1