Editar

Compartilhar via


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
ContextHandle
Implements

Constructors

ContextHandle(IntPtr)

Constructs a new instance with the specified handle.

Fields

Zero

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

Properties

Handle

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

Methods

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

Compares this instance to the specified object.

GetHashCode()

Returns the hash code for this instance.

ToString()

Converts this instance to its equivalent string representation.

Operators

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

Applies to