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