debugVizFeatureHLSL.h 941 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #pragma once
  2. #ifndef _SHADERGEN_HLSL_SHADERFEATUREHLSL_H_
  3. #include "shaderGen/HLSL/shaderFeatureHLSL.h"
  4. #endif
  5. #ifndef _LANG_ELEMENT_H_
  6. #include "shaderGen/langElement.h"
  7. #endif
  8. #ifndef _GFXDEVICE_H_
  9. #include "gfx/gfxDevice.h"
  10. #endif
  11. #ifndef _FEATUREMGR_H_
  12. #include "shaderGen/featureMgr.h"
  13. #endif
  14. #ifndef _MATERIALFEATURETYPES_H_
  15. #include "materials/materialFeatureTypes.h"
  16. #endif
  17. #ifndef _MATERIALFEATUREDATA_H_
  18. #include "materials/materialFeatureData.h"
  19. #endif
  20. /// This should be the final feature on most pixel shaders which
  21. /// encodes the color for the current HDR target format.
  22. /// @see HDRPostFx
  23. /// @see LightManager
  24. /// @see torque.hlsl
  25. class DebugVizHLSL : public ShaderFeatureHLSL
  26. {
  27. protected:
  28. ShaderIncludeDependency mTorqueDep;
  29. public:
  30. DebugVizHLSL();
  31. virtual void processPix(Vector<ShaderComponent*>& componentList,
  32. const MaterialFeatureData& fd);
  33. virtual String getName() { return "Debug Viz"; }
  34. };