diff options
Diffstat (limited to 'mp/src/public/materialsystem/combineoperations.h')
| -rw-r--r-- | mp/src/public/materialsystem/combineoperations.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/mp/src/public/materialsystem/combineoperations.h b/mp/src/public/materialsystem/combineoperations.h new file mode 100644 index 00000000..195f19f4 --- /dev/null +++ b/mp/src/public/materialsystem/combineoperations.h @@ -0,0 +1,29 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef COMBINEOPERATIONS_H +#define COMBINEOPERATIONS_H +#pragma once + +// New combines can be written in the middle (and generally should be written before Error). +// Keep these in sync with cCombineMaterialName in ctexturecompositor.cpp +enum ECombineOperation +{ + ECO_Multiply = 0, + ECO_Add, + ECO_Lerp, + + ECO_Select, + + ECO_Legacy_Lerp_FirstPass, + ECO_Legacy_Lerp_SecondPass, + + ECO_Error, + ECO_COUNT +}; + +#endif /* COMBINEOPERATIONS_H */ |