Synced
PlatformNativeHandles.Constructor
Section titled “PlatformNativeHandles.Constructor”
- Borrows surface handles from a live window for cooperating native adapters.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Adapter.Platform
Declaration
Section titled “Declaration”public Inno.Adapter.Platform.PlatformNativeHandles.PlatformNativeHandles(nint windowHandle, nint displayHandle = 0, Inno.Adapter.Platform.PlatformNativeHandleId handleKind = default(Inno.Adapter.Platform.PlatformNativeHandleId))Remarks
Section titled “Remarks”Handles remain valid only while their window is alive. Consumers must not release them. The handle identifier selects the ABI; this value is not a runtime or scripting contract.
Parameters
Section titled “Parameters”Parameter windowHandle: Native window handle, or a stable UTF-8 canvas selector for browser surfaces.
Parameter displayHandle: Native display handle when required by the platform.
Parameter handleKind: Platform handle kind.
Returns
Section titled “Returns”A borrowed adapter-level surface description.