metaforce/Runtime/Graphics/Shaders/CDecalShaders.hpp

24 lines
652 B
C++

#pragma once
#include <boo/graphicsdev/IGraphicsDataFactory.hpp>
namespace urde {
struct CQuadDecal;
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:
static void Initialize();
static void Shutdown();
static void BuildShaderDataBinding(boo::IGraphicsDataFactory::Context& ctx, CQuadDecal& decal);
};
} // namespace urde