Show / Hide Table of Contents

Struct EGLSurface

Implements
IEquatable<EGLSurface>
Inherited Members
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: OpenTK.Graphics.Egl
Assembly: OpenTK.Graphics.dll
Syntax
public struct EGLSurface : IEquatable<EGLSurface>

Constructors

EGLSurface(nint)

Declaration
public EGLSurface(nint value)
Parameters
Type Name Description
nint value

Fields

Value

Declaration
public nint Value
Field Value
Type Description
nint

Properties

NoSurface

Declaration
public static EGLSurface NoSurface { get; }
Property Value
Type Description
EGLSurface

Methods

Equals(EGLSurface)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(EGLSurface other)
Parameters
Type Name Description
EGLSurface 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
ValueType.Equals(object)

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
ValueType.GetHashCode()

Operators

operator ==(EGLSurface, EGLSurface)

Declaration
public static bool operator ==(EGLSurface left, EGLSurface right)
Parameters
Type Name Description
EGLSurface left
EGLSurface right
Returns
Type Description
bool

explicit operator nint(EGLSurface)

Declaration
public static explicit operator nint(EGLSurface handle)
Parameters
Type Name Description
EGLSurface handle
Returns
Type Description
nint

explicit operator EGLSurface(nint)

Declaration
public static explicit operator EGLSurface(nint value)
Parameters
Type Name Description
nint value
Returns
Type Description
EGLSurface

operator !=(EGLSurface, EGLSurface)

Declaration
public static bool operator !=(EGLSurface left, EGLSurface right)
Parameters
Type Name Description
EGLSurface left
EGLSurface right
Returns
Type Description
bool

Implements

IEquatable<T>
In this article
Back to top Generated by DocFX