#pragma once #include "Graphics/CGraphics.hpp" #include "boo/graphicsdev/IGraphicsDataFactory.hpp" namespace urde { class CLineRenderer; class CLineRendererShaders { static boo::ObjToken m_texAlpha; static boo::ObjToken m_texAdditive; static boo::ObjToken m_noTexAlpha; static boo::ObjToken m_noTexAdditive; static boo::ObjToken m_texAlphaZ; static boo::ObjToken m_texAdditiveZ; static boo::ObjToken m_noTexAlphaZ; static boo::ObjToken m_noTexAdditiveZ; static boo::ObjToken m_noTexAlphaZGEqual; public: static void Initialize(); static void Shutdown(); static void BuildShaderDataBinding(boo::IGraphicsDataFactory::Context& ctx, CLineRenderer& renderer, const boo::ObjToken& texture, bool additive, bool zTest, bool zGEqual); }; }