Show / Hide Table of Contents

Struct MonitorHandle

Wrapper around an implementation-defined monitor struct.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: OpenTK.Windowing.Common
Assembly: OpenTK.Windowing.Common.dll
Syntax
public struct MonitorHandle

Constructors

MonitorHandle(IntPtr)

Initializes a new instance of the MonitorHandle struct.

Declaration
public MonitorHandle(IntPtr ptr)
Parameters
Type Name Description
IntPtr ptr

A pointer to the underlying native Monitor.

Properties

Pointer

Gets a pointer to the underlying native Monitor.

Declaration
public readonly IntPtr Pointer { get; }
Property Value
Type Description
IntPtr

Methods

ToUnsafePtr<T>()

Converts the underlying Pointer to a unmanaged pointer.

Declaration
public T* ToUnsafePtr<T>() where T : unmanaged
Returns
Type Description
T*

A unmanaged pointer to the underlying native Monitor.

Type Parameters
Name Description
T

The type of the object found at the Pointer memory address.

In This Article
Back to top Generated by DocFX