Table of Contents

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

x int[]

The first object of type T to compare.

y int[]

The second object of type T to compare.

Returns

bool

true if the specified objects are equal; otherwise, false.

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 and obj is null.