Bewerken

Delen via


D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2 structure (d3dkmthk.h)

D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2 is used with D3DKMTSignalSynchronizationObjectFromGpu2 to signal a monitored fence.

Syntax

typedef struct _D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2 {
  [in] UINT                 ObjectCount;
  [in] const D3DKMT_HANDLE  *ObjectHandleArray;
  [in] D3DDDICB_SIGNALFLAGS Flags;
  [in] ULONG                BroadcastContextCount;
  [in] const D3DKMT_HANDLE  *BroadcastContextArray;
  union {
    [in] D3DKMT_ALIGN64 UINT64 FenceValue;
    [in] HANDLE                CpuEventHandle;
    [in] const UINT64          *MonitoredFenceValueArray;
         D3DKMT_ALIGN64 UINT64 Reserved[8];
  };
} D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2;

Members

[in] ObjectCount

The number of synchronization events in the ObjectHandleArray array and fence values in MonitoredFenceValueArray arrays.

[in] ObjectHandleArray

An array of kernel-mode handles to the synchronization events that the context that is specified by the hContext member waits for.

[in] Flags

A D3DDDICB_SIGNALFLAGS structure that indicates, in bit-field flags, signaling behavior.

[in] BroadcastContextCount

The number of contexts this signal operation will be broadcast to.

[in] BroadcastContextArray

An array of kernel-mode handles to the context streams in which a signal for the synchronization events in the array that the ObjectHandleArray member specifies is inserted. The synchronization events are considered signaled only when all broadcast contexts reach the signal insertion point.

[in] FenceValue

A 64-bit value that specifies the current fence value of the GPU synchronization object. This value applies only if the GPU synchronization object is of type D3DDDI_FENCE.

[in] CpuEventHandle

The handle of an event object that will be signaled when the signal command is processed. This member must be set only when Flags.EnqueueCpuEvent is specified.

[in] MonitoredFenceValueArray

An array of 64-bit monitored fence values to signal, each of which correspond to a synchronization object in ObjectHandleArray.

Reserved[8]

This member is reserved and should be set to zero.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header d3dkmthk.h (include D3dkmthk.h)

See also

D3DKMTSignalSynchronizationObjectFromGpu2