Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method sets residency priorities of a specified list of objects.
Syntax
HRESULT SetResidencyPriority(
UINT NumObjects,
[in] ID3D12Pageable * const *ppObjects,
[in] const D3D12_RESIDENCY_PRIORITY *pPriorities
);
Parameters
NumObjects
Type: UINT
Specifies the number of objects in the ppObjects and pPriorities arrays.
[in] ppObjects
Type: ID3D12Pageable*
Specifies an array, of length NumObjects, containing references to ID3D12Pageable objects.
[in] pPriorities
Type: const D3D12_RESIDENCY_PRIORITY*
Specifies an array, of length NumObjects, of D3D12_RESIDENCY_PRIORITY values for the list of objects.
Return value
Type: HRESULT
This method returns an HRESULT success or error code.
Remarks
For more information, refer to Residency.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d12.h |
Library | D3d12.lib |
DLL | D3d12.dll |