metaforce/Runtime/Graphics/Shaders/CDecalShaders.hpp

29 lines
727 B
C++
Raw Normal View History

2018-03-17 03:41:01 +00:00
#ifndef __URDE_CDECALSHADERS_HPP__
#define __URDE_CDECALSHADERS_HPP__
#include "Graphics/CGraphics.hpp"
namespace urde
{
2018-03-23 21:56:17 +00:00
struct CQuadDecal;
2018-03-17 03:41:01 +00:00
class CDecalShaders
{
private:
static boo::ObjToken<boo::IShaderPipeline> m_texZTestNoZWrite;
static boo::ObjToken<boo::IShaderPipeline> m_texAdditiveZTest;
static boo::ObjToken<boo::IShaderPipeline> m_texRedToAlphaZTest;
static boo::ObjToken<boo::IShaderPipeline> m_noTexZTestNoZWrite;
static boo::ObjToken<boo::IShaderPipeline> m_noTexAdditiveZTest;
public:
2018-10-07 02:59:17 +00:00
static void Initialize();
static void Shutdown();
2018-03-17 03:41:01 +00:00
static void BuildShaderDataBinding(boo::IGraphicsDataFactory::Context& ctx, CQuadDecal& decal);
};
}
#endif // __URDE_CDECALSHADERS_HPP__