// d3dukmdt.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DDDI_NATIVEFENCEMAPPING structure contains native GPU fence address mappings in the caller's process address space.
CurrentValueCpuVaRead-only mapping of the current value for the CPU. This value is is used by user-mode components to poll the native fence CurrentValue.
CurrentValueGpuVaRead/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.
MonitoredValueGpuVaRead/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.
For more information about native GPU fences, see Native GPU fence objects.