Expand Minimize

DXGI_DDI_ARG_QUERYRESOURCERESIDENCY structure

The DXGI_DDI_ARG_QUERYRESOURCERESIDENCY structure describes the residency status of a list of resources.

Syntax


typedef struct DXGI_DDI_ARG_QUERYRESOURCERESIDENCY {
  DXGI_DDI_HDEVICE         hDevice;
  const DXGI_DDI_HRESOURCE *pResources;
  DXGI_DDI_RESIDENCY       *pStatus;
  SIZE_T                   Resources;
} DXGI_DDI_ARG_QUERYRESOURCERESIDENCY;

Members

hDevice

[in] A handle to the display device (graphics context) on which the driver determines resource residency status. The Direct3D runtime passes this handle to the driver in the hDrvDevice member of the D3D10DDIARG_CREATEDEVICE structure when the runtime calls the driver's CreateDevice(D3D10) function to create the display device.

pResources

[in] An array of handles to the resources to query for residency on.

pStatus

[out] A pointer to an array of DXGI_DDI_RESIDENCY values. The number of elements in the array is specified by the Resources member, and each element receives one of the following values to indicate the residency status of the corresponding resource in the array that pResources specifies.

ValueMeaning

DXGI_DDI_RESIDENCY_FULLY_RESIDENT (1)

The resources reside in GPU memory, which is the highest residency status.

DXGI_DDI_RESIDENCY_RESIDENT_IN_SHARED_MEMORY (2)

The resources reside in shared memory.

DXGI_DDI_RESIDENCY_EVICTED_TO_DISK (3)

The resources are nonresident, which is the lowest residency status.

 

Resources

[in] The number of elements in the pResources and pStatus arrays.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

Dxgiddi.h (include D3d10umddi.h)

See also

QueryResourceResidencyDXGI

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft