D3DDDI_NATIVEFENCEMAPPING structure (d3dukmdt.h)

The D3DDDI_NATIVEFENCEMAPPING structure contains native GPU fence address mappings in the caller's process address space.

Syntax

typedef struct _D3DDDI_NATIVEFENCEMAPPING {
  VOID                                  *CurrentValueCpuVa;
  D3DKMT_ALIGN64 D3DGPU_VIRTUAL_ADDRESS CurrentValueGpuVa;
  D3DKMT_ALIGN64 D3DGPU_VIRTUAL_ADDRESS MonitoredValueGpuVa;
  D3DKMT_ALIGN64 BYTE                   Reserved[32];
} D3DDDI_NATIVEFENCEMAPPING;

Members

CurrentValueCpuVa

Read-only mapping of the current value for the CPU. This value is is used by user-mode components to poll the native fence CurrentValue.

CurrentValueGpuVa

Read/write mapping of the current value for the GPU in the current process's address space. This value is used by the GPU engine to read or write to the native fence CurrentValue as a fence signal operation.

MonitoredValueGpuVa

Read/write mapping of the monitored value for the GPU in the current process's address space. This value is used by the GPU engine to check whether a conditional CPU interrupt should be raised.

Reserved[32]

Reserved for system use.

Remarks

For more information about native GPU fences, see Native GPU fence objects.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2
Header d3dukmdt.h

See also

D3DDDI_NATIVEFENCEINFO

D3DKMT_CREATENATIVEFENCE

D3DKMTCreateNativeFence