ContextHandle ContextHandle Struct

Definition

Represents a handle to an OpenGL or OpenAL context.

public struct ContextHandle : IComparable<OpenTK.ContextHandle>, IEquatable<OpenTK.ContextHandle>
type ContextHandle = struct
Inheritance
ContextHandleContextHandle
Implements

Constructors

ContextHandle(IntPtr) ContextHandle(IntPtr)

Constructs a new instance with the specified handle.

Fields

Zero Zero

A read-only field that represents a handle that has been initialized to zero.

Properties

Handle Handle

Gets a System.IntPtr that represents the handle of this ContextHandle.

Methods

CompareTo(ContextHandle) CompareTo(ContextHandle)
Equals(ContextHandle) Equals(ContextHandle)
Equals(Object) Equals(Object)

Compares this instance to the specified object.

GetHashCode() GetHashCode()

Returns the hash code for this instance.

ToString() ToString()

Converts this instance to its equivalent string representation.

Operators

Equality(ContextHandle, ContextHandle) Equality(ContextHandle, ContextHandle)
Explicit(ContextHandle to IntPtr) Explicit(ContextHandle to IntPtr)
Explicit(IntPtr to ContextHandle) Explicit(IntPtr to ContextHandle)
Inequality(ContextHandle, ContextHandle) Inequality(ContextHandle, ContextHandle)

Applies to