// d3dukmdt.h
typedef enum _D3DDDI_NATIVEFENCE_TYPE {
D3DDDI_NATIVEFENCE_TYPE_DEFAULT = 0,
D3DDDI_NATIVEFENCE_TYPE_INTRA_GPU = 1
} D3DDDI_NATIVEFENCE_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
A D3DDDI_NATIVEFENCE_TYPE enumeration value specifies the type of native fence that the OS.
D3DDDI_NATIVEFENCE_TYPE_DEFAULT:0Indicates full CPU and GPU interoperability. See Native GPU fence objects for details. Supported starting in Windows 11, version 22H2 (WDDM 3.2).
D3DDDI_NATIVEFENCE_TYPE_INTRA_GPU:1Special fence type for engine-to-engine synchronization that doesn't support any CPU access or CPU wait/signal operations. See Native GPU fence objects for details. Not currently supported.
A D3DDDI_NATIVEFENCE_TYPE enumeration value dictates the type of native fence that the OS creates. They differ in functionality, performance characteristics, and storage requirements for CurrentValue and MonitoredValue.
For detailed information about these differences and about native GPU fences in general, see Native GPU fence objects.