Hide menu
Loading...
Searching...
No Matches
cadex.Materials.ColorHash Class Reference

Hasher for color objects. More...

Inherits global.SystemIDisposable.

Public Member Functions

 ColorHash (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 ColorHash ()
 The hash calculation will occur with a default rounding of 1e-4f for the color component.
 
 ColorHash (float thePrecision)
 The hash calculation will occur with a rounding of thePrecision for the color component.
 
uint Apply (cadex.Materials.Color theValue)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Detailed Description

Hasher for color objects.

Constructor & Destructor Documentation

◆ ColorHash() [1/2]

cadex.Materials.ColorHash.ColorHash ( )
inline

The hash calculation will occur with a default rounding of 1e-4f for the color component.

Constructor.

◆ ColorHash() [2/2]

cadex.Materials.ColorHash.ColorHash ( float thePrecision)
inline

The hash calculation will occur with a rounding of thePrecision for the color component.

Constructor.