Modifica

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

Name Description
ContextHandle(IntPtr)

Constructs a new instance with the specified handle.

Fields

Name Description
Zero

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

Properties

Name Description
Handle

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

Methods

Name Description
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

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

Applies to