D3DDDI_NATIVEFENCEINFO structure (d3dukmdt.h)

D3DDDI_NATIVEFENCEINFO describes the attributes of a native fence synchronization object.

Syntax

typedef struct _D3DDDI_NATIVEFENCEINFO {
  D3DKMT_ALIGN64 UINT64              InitialFenceValue;
  UINT                               EngineAffinity;
  D3DDDI_NATIVEFENCE_TYPE            Type;
  D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS Flags;
  D3DDDI_NATIVEFENCEMAPPING          NativeFenceMapping;
  D3DKMT_ALIGN64 BYTE                Reserved[28];
} D3DDDI_NATIVEFENCEINFO;

Members

InitialFenceValue

[in] The initial fence value.

EngineAffinity

[in] Defines the physical adapters where the GPU virtual address is mapped.

Type

[in] A D3DDDI_NATIVEFENCE_TYPE value that specifies the type of the fence.

Flags

[in] A D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS structure that identifies the attributes of the synchronization object.

NativeFenceMapping

[out] A D3DDDI_NATIVEFENCE_MAPPING structure in which the process mapping information for the native fence is returned.

Reserved[28]

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

D3DKMT_CREATENATIVEFENCE

D3DKMTCreateNativeFence