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