DXGK_ALLOCATIONINFOFLAGS2 结构 (d3dkmddi.h)

DXGK_ALLOCATIONINFOFLAGS2 结构包含分配的其他属性。

语法

typedef struct _DXGK_ALLOCATIONINFOFLAGS2 {
  union {
    struct {
      UINT ShareBackingStoreWithKmd : 1;
      UINT NoImplicitSynchronization : 1;
      UINT DisablePartialResidency : 1;
      UINT RestrictedToSingleSegment : 1;
      UINT NotifyEviction : 1;
      UINT NotifyIoMmuUnmap : 1;
#if ...
      UINT Reserved : 26;
#else
      UINT Reserved : 31;
#endif
    };
    UINT Value;
  };
} DXGK_ALLOCATIONINFOFLAGS2;

成员

ShareBackingStoreWithKmd

设置后,内核模式驱动程序会通知 Dxgkrnl 它需要知道分配后备存储的地址。 分配必须创建共享,并且必须仅驻留在光圈内存段中。

NoImplicitSynchronization

DisablePartialResidency

RestrictedToSingleSegment

NotifyEviction

NotifyIoMmuUnmap

Reserved

保留值;请勿使用。

Value

访问位的替代方法。

要求

要求
最低受支持的客户端 Windows 11 (WDDM 3.0)
标头 d3dkmddi.h

另请参阅

DXGK_ALLOCATIONINFO

DXGKDDI_CREATEALLOCATION