Class ShaderExtract.ConfigKeyComparer
- Namespace
- ValveResourceFormat.IO
- Assembly
- ValveResourceFormat.dll
Compares shader configuration keys for equality.
public class ShaderExtract.ConfigKeyComparer : IEqualityComparer<int[]>
Inheritance
Implements
Inherited Members
Methods
Equals(int[], int[])
Determines whether the specified objects are equal.
public bool Equals(int[] x, int[] y)
Parameters
Returns
GetHashCode(int[])
Returns a hash code for the specified object.
public int GetHashCode(int[] obj)
Parameters
obj
int[]-
The System.Object for which a hash code is to be returned.
Returns
- int
-
A hash code for the specified object.
Remarks
Generates a hash code by treating the array as a bit field.
Exceptions
- ArgumentNullException
-
The type of
obj
is a reference type andobj
is null.