Show / Hide Table of Contents

Struct FramebufferHandle

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

Constructors

FramebufferHandle(int)

Declaration
public FramebufferHandle(int handle)
Parameters
Type Name Description
int handle

Fields

Handle

Declaration
public int Handle
Field Value
Type Description
int

Zero

Declaration
public static readonly FramebufferHandle Zero
Field Value
Type Description
FramebufferHandle

Methods

Equals(FramebufferHandle)

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

Declaration
public bool Equals(FramebufferHandle other)
Parameters
Type Name Description
FramebufferHandle 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 ==(FramebufferHandle, FramebufferHandle)

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

explicit operator int(FramebufferHandle)

Declaration
public static explicit operator int(FramebufferHandle framebufferHandle)
Parameters
Type Name Description
FramebufferHandle framebufferHandle
Returns
Type Description
int

explicit operator FramebufferHandle(int)

Declaration
public static explicit operator FramebufferHandle(int Framebuffer)
Parameters
Type Name Description
int Framebuffer
Returns
Type Description
FramebufferHandle

operator !=(FramebufferHandle, FramebufferHandle)

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

Implements

IEquatable<T>
In this article
  • Constructors
    • FramebufferHandle(int)
  • Fields
    • Handle
    • Zero
  • Methods
    • Equals(FramebufferHandle)
    • Equals(object?)
    • GetHashCode()
  • Operators
    • operator ==(FramebufferHandle, FramebufferHandle)
    • explicit operator int(FramebufferHandle)
    • explicit operator FramebufferHandle(int)
    • operator !=(FramebufferHandle, FramebufferHandle)
  • Implements
Back to top Generated by DocFX