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