DXGI_DDI_ARG_OFFERRESOURCES - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// dxgiddi.h

typedef struct _DXGI_DDI_ARG_OFFERRESOURCES {
  [in] DXGI_DDI_HDEVICE         hDevice;
  [in] const DXGI_DDI_HRESOURCE *pResources;
  [in] UINT                     Resources;
  [in] D3DDDI_OFFER_PRIORITY    Priority;
} DXGI_DDI_ARG_OFFERRESOURCES;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-dxgiddi-_dxgi_ddi_arg_offerresources)

_DXGI_DDI_ARG_OFFERRESOURCES structure

Description

Describes video memory resources that the user-mode display driver offers for reuse. Used with the pfnOfferResources function. Used with the pfnReclaimResources function by Windows Display Driver Model (WDDM) 1.2 and later user-mode display drivers.

Members

hDevice [in]

A handle to the display device (graphics context) on which the driver offers resources for reuse.

The Direct3D runtime passed this handle to the driver in the hDrvDevice member of the D3D10DDIARG_CREATEDEVICE structure when it created the device by calling the CreateDevice(D3D10) routine.

pResources [in]

A pointer to an array of handles to the video memory resources that the driver offers.

Resources [in]

The number of elements in the array pointed to by pResources.

Priority [in]

A value of type D3DDDI_OFFER_PRIORITY that indicates the importance of the resources pointed to by pResources.

See also

CreateDevice(D3D10)

D3D10DDIARG_CREATEDEVICE

D3DDDI_OFFER_PRIORITY

pfnOfferResources