D3DDDIARG_OFFERRESOURCES 結構 (d3dumddi.h)

描述使用者模式顯示驅動程式提供重複使用的視訊記憶體資源。 與 OfferResources 函式搭配使用。

語法

typedef struct _D3DDDIARG_OFFERRESOURCES {
  [in] const HANDLE          *pResources;
  [in] UINT                  Resources;
  [in] D3DDDI_OFFER_PRIORITY Priority;
} D3DDDIARG_OFFERRESOURCES;

成員

[in] pResources

驅動程式所提供之視訊記憶體資源的句柄陣列指標。

[in] Resources

pResources 所指向之陣列中的元素數目。

[in] Priority

類型 為 D3DDDI_OFFER_PRIORITY 的值,指出 pResources 所指向之資源的重要性。

備註

這個結構是由 OfferResources 例程的 pData 參數所指向。

規格需求

需求
最低支援的用戶端 Windows 8
最低支援的伺服器 Windows Server 2012
標頭 d3dumddi.h (包含 D3dumddi.h)

另請參閱

D3DDDI_OFFER_PRIORITY

OfferResources