콘텐츠로 이동

PlatformDisplayIdentity structure

이 콘텐츠는 아직 번역되지 않았습니다.

Identifies the platform display associated with a window surface as an opaque (IdLow, IdHigh, NativeHandle) tuple. Equality is structural, so a backend only needs to know which field its own platform fills, typically NativeHandle plus an optional secondary index in IdHigh. Per-platform construction lives in the platform assembly.

public struct PlatformDisplayIdentity : IEquatable<PlatformDisplayIdentity>
parameter description
IdLow Low part of the opaque id.
IdHigh High part of the opaque id, or a secondary index such as a screen number.
NativeHandle Native display handle, when the platform has one.
name description
PlatformDisplayIdentity(…) Identifies the platform display associated with a window surface as an opaque (IdLow, IdHigh, NativeHandle) tuple. Equality is structural, so a backend only needs to know which field its own platform fills, typically NativeHandle plus an optional secondary index in IdHigh. Per-platform construction lives in the platform assembly.
IdHigh { get; set; } High part of the opaque id, or a secondary index such as a screen number.
IdLow { get; set; } Low part of the opaque id.
IsEmpty { get; } Gets whether no field is set.
NativeHandle { get; set; } Native display handle, when the platform has one.