ShaderPass.hlsl 964 B

123456789101112131415161718192021222324252627
  1. #ifndef UNIVERSAL_SHADERPASS_INCLUDED
  2. #define UNIVERSAL_SHADERPASS_INCLUDED
  3. #define SHADERPASS_FORWARD (0)
  4. #define SHADERPASS_GBUFFER (1)
  5. #define SHADERPASS_DEPTHONLY (2)
  6. #define SHADERPASS_SHADOWCASTER (3)
  7. #define SHADERPASS_META (4)
  8. #define SHADERPASS_2D (5)
  9. #define SHADERPASS_UNLIT (6)
  10. #define SHADERPASS_SPRITELIT (7)
  11. #define SHADERPASS_SPRITENORMAL (8)
  12. #define SHADERPASS_SPRITEFORWARD (9)
  13. #define SHADERPASS_SPRITEUNLIT (10)
  14. #define SHADERPASS_DEPTHNORMALSONLY (11)
  15. #define SHADERPASS_DBUFFER_PROJECTOR (12)
  16. #define SHADERPASS_DBUFFER_MESH (13)
  17. #define SHADERPASS_FORWARD_EMISSIVE_PROJECTOR (14)
  18. #define SHADERPASS_FORWARD_EMISSIVE_MESH (15)
  19. #define SHADERPASS_FORWARD_PREVIEW (16)
  20. #define SHADERPASS_DECAL_SCREEN_SPACE_PROJECTOR (17)
  21. #define SHADERPASS_DECAL_SCREEN_SPACE_MESH (18)
  22. #define SHADERPASS_DECAL_GBUFFER_PROJECTOR (19)
  23. #define SHADERPASS_DECAL_GBUFFER_MESH (20)
  24. #define SHADERPASS_DEPTHNORMALS (21)
  25. #define SHADERPASS_MOTIONVECTORS (22)
  26. #endif