Struct BufferHandle
Assembly: OpenTK.Graphics.dll
Syntax
public struct BufferHandle : IEquatable<BufferHandle>
Constructors
BufferHandle(int)
Declaration
public BufferHandle(int handle)
Parameters
Type |
Name |
Description |
int |
handle |
|
Fields
Handle
Declaration
Field Value
Zero
Declaration
public static readonly BufferHandle Zero
Field Value
Methods
Equals(BufferHandle)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(BufferHandle other)
Parameters
Type |
Name |
Description |
BufferHandle |
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 ==(BufferHandle, BufferHandle)
Declaration
public static bool operator ==(BufferHandle left, BufferHandle right)
Parameters
Returns
explicit operator int(BufferHandle)
Declaration
public static explicit operator int(BufferHandle bufferHandle)
Parameters
Returns
explicit operator BufferHandle(int)
Declaration
public static explicit operator BufferHandle(int Buffer1)
Parameters
Type |
Name |
Description |
int |
Buffer1 |
|
Returns
operator !=(BufferHandle, BufferHandle)
Declaration
public static bool operator !=(BufferHandle left, BufferHandle right)
Parameters
Returns
Implements