Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
814 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef COMBINEOPERATIONS_H
  8. #define COMBINEOPERATIONS_H
  9. #pragma once
  10. // New combines must be added between FirstPrecacheMaterial and LastPrecacheMaterial.
  11. // Keep these in sync with cCombineMaterialName in ctexturecompositor.cpp
  12. enum ECombineOperation
  13. {
  14. ECO_FirstPrecacheMaterial = 0,
  15. ECO_Multiply = 0,
  16. ECO_Add = 1,
  17. ECO_Lerp = 2,
  18. ECO_Select = 3,
  19. ECO_Legacy_Lerp_FirstPass = 4, // Must be 4, or shaders need to be updated!
  20. ECO_Legacy_Lerp_SecondPass = 5, // Must be 5, or shaders need to be updated!
  21. ECO_Blend = 6,
  22. ECO_LastPrecacheMaterial,
  23. ECO_Error,
  24. ECO_COUNT
  25. };
  26. #endif /* COMBINEOPERATIONS_H */