Bewerken

Delen via


D3DKMT_CREATENATIVEFENCE structure (d3dkmthk.h)

The D3DKMT_CREATENATIVEFENCE structure is a parameter for the D3DKMTCreateNativeFence function. It describes the fence object to create.

Syntax

typedef struct _D3DKMT_CREATENATIVEFENCE {
  D3DKMT_HANDLE                  hDevice;
  D3DKMT_HANDLE                  hSyncObject;
  BYTE                           PrivateDriverData[D3DDDI_NATIVE_FENCE_PDD_SIZE];
  D3DDDI_NATIVEFENCEINFO         Info;
  D3DKMT_CREATENATIVEFENCE_FLAGS Flags;
  BYTE                           Reserved[28];
} D3DKMT_CREATENATIVEFENCE;

Members

hDevice

[in] A handle to the device that the fence object is created on.

hSyncObject

[out] A handle to the sync object on this process.

PrivateDriverData[D3DDDI_NATIVE_FENCE_PDD_SIZE]

[in/out] Private driver data to pass to KMD's DxgkDdiCreateNativeFence function and copy back to UMD.

Info

[in/out] A D3DDDI_NATIVEFENCEINFO structure that describes the attributes of the synchronization object.

Flags

[in] A D3DKMT_CREATENATIVEFENCE_FLAGS structure that describes the flags for the fence object.

Reserved[28]

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 d3dkmthk.h

See also

D3DKMTCreateNativeFence

DxgkDdiCreateNativeFence