Class ShaderExtract.ConfigKeyComparer
Namespace: ValveResourceFormat.IO
Assembly: ValveResourceFormat.dll
Compares shader configuration keys for equality.
csharp
public class ShaderExtract.ConfigKeyComparer : IEqualityComparer<int[]>Inheritance
object ← ShaderExtract.ConfigKeyComparer
Implements
Methods
Equals(int[]?, int[]?)
Determines whether the specified objects are equal.
csharp
public bool Equals(int[]? x, int[]? y)Parameters
x int[]?
The first object of type T to compare.
y int[]?
The second object of type T to compare.
Returns
true if the specified objects are equal; otherwise, false.
GetHashCode(int[])
Returns a hash code for the specified object.
csharp
public int GetHashCode(int[] obj)Parameters
obj int[]
The for which a hash code is to be returned.
Returns
A hash code for the specified object.
Remarks
Generates a hash code by treating the array as a bit field.
Exceptions
The type of obj is a reference type and obj is null.

