Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EventID(ulong)

Construct a new EventID object.
Read time 1 minuteLast updated 13 days ago

Definition

public EventID(ulong value)

Parameters

value

The value is used by the implementation and can be interpreted as a memory pointer or other implementation specific data.

Remarks

Creates an EventID from a raw value. This constructor is primarily used to create EventIDs from internal handles.
The value is implementation-specific and can represent:
  • Event handles or fences in GPU implementations.
  • Thread synchronization objects in CPU implementations.
  • Other implementation-defined identifiers.
Note: User code should typically obtain EventIDs through IDeviceContext.CreateEvent() rather than constructing them manually.