summaryrefslogtreecommitdiff
path: root/public/materialsystem/combineoperations.h
diff options
context:
space:
mode:
Diffstat (limited to 'public/materialsystem/combineoperations.h')
-rw-r--r--public/materialsystem/combineoperations.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/public/materialsystem/combineoperations.h b/public/materialsystem/combineoperations.h
new file mode 100644
index 0000000..0134d8e
--- /dev/null
+++ b/public/materialsystem/combineoperations.h
@@ -0,0 +1,36 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef COMBINEOPERATIONS_H
+#define COMBINEOPERATIONS_H
+#pragma once
+
+// New combines must be added between FirstPrecacheMaterial and LastPrecacheMaterial.
+// Keep these in sync with cCombineMaterialName in ctexturecompositor.cpp
+enum ECombineOperation
+{
+ ECO_FirstPrecacheMaterial = 0,
+ ECO_Multiply = 0,
+ ECO_Add = 1,
+ ECO_Lerp = 2,
+
+ ECO_Select = 3,
+
+ ECO_Legacy_Lerp_FirstPass = 4, // Must be 4, or shaders need to be updated!
+ ECO_Legacy_Lerp_SecondPass = 5, // Must be 5, or shaders need to be updated!
+
+ ECO_Blend = 6,
+
+ ECO_LastPrecacheMaterial,
+
+ ECO_Error,
+
+ ECO_COUNT
+
+};
+
+#endif /* COMBINEOPERATIONS_H */