summaryrefslogtreecommitdiff
path: root/public/materialsystem/combineoperations.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /public/materialsystem/combineoperations.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
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 */