Struct EGLContext
Assembly: OpenTK.Graphics.dll
Syntax
public struct EGLContext : IEquatable<EGLContext>
Constructors
EGLContext(nint)
Declaration
public EGLContext(nint value)
Parameters
Type |
Name |
Description |
nint |
value |
|
Fields
Value
Declaration
Field Value
Properties
NoContext
Declaration
public static EGLContext NoContext { get; }
Property Value
Methods
Equals(EGLContext)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(EGLContext other)
Parameters
Type |
Name |
Description |
EGLContext |
other |
An object to compare with this object.
|
Returns
Type |
Description |
bool |
true if the current object is equal to the other parameter; otherwise, false.
|
Equals(object?)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
The object to compare with the current instance.
|
Returns
Type |
Description |
bool |
true if obj and this instance are the same type and represent the same value; otherwise, false.
|
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
int |
A 32-bit signed integer that is the hash code for this instance.
|
Overrides
Operators
operator ==(EGLContext, EGLContext)
Declaration
public static bool operator ==(EGLContext left, EGLContext right)
Parameters
Returns
explicit operator nint(EGLContext)
Declaration
public static explicit operator nint(EGLContext handle)
Parameters
Returns
explicit operator EGLContext(nint)
Declaration
public static explicit operator EGLContext(nint value)
Parameters
Type |
Name |
Description |
nint |
value |
|
Returns
operator !=(EGLContext, EGLContext)
Declaration
public static bool operator !=(EGLContext left, EGLContext right)
Parameters
Returns
Implements