D3DDDI_NATIVEFENCE_TYPE enumeration (d3dukmdt.h)

A D3DDDI_NATIVEFENCE_TYPE enumeration value specifies the type of native fence that the OS.

Syntax

typedef enum _D3DDDI_NATIVEFENCE_TYPE {
  D3DDDI_NATIVEFENCE_TYPE_DEFAULT = 0,
  D3DDDI_NATIVEFENCE_TYPE_INTRA_GPU = 1
} D3DDDI_NATIVEFENCE_TYPE;

Constants

 
D3DDDI_NATIVEFENCE_TYPE_DEFAULT
Value: 0
Indicates 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
Value: 1
Special 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.

Remarks

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.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2 (WDDM 3.2)
Header d3dukmdt.h

See also

D3DDDI_NATIVEFENCEINFO

D3DKMTCreateNativeFence