mirror of https://github.com/AxioDL/metaforce.git
24 lines
697 B
C++
24 lines
697 B
C++
#pragma once
|
|
|
|
#include <boo/graphicsdev/IGraphicsDataFactory.hpp>
|
|
|
|
namespace metaforce {
|
|
struct CQuadDecal;
|
|
|
|
class CDecalShaders {
|
|
private:
|
|
static inline boo::ObjToken<boo::IShaderPipeline> m_texZTestNoZWrite;
|
|
static inline boo::ObjToken<boo::IShaderPipeline> m_texAdditiveZTest;
|
|
static inline boo::ObjToken<boo::IShaderPipeline> m_texRedToAlphaZTest;
|
|
|
|
static inline boo::ObjToken<boo::IShaderPipeline> m_noTexZTestNoZWrite;
|
|
static inline boo::ObjToken<boo::IShaderPipeline> m_noTexAdditiveZTest;
|
|
|
|
public:
|
|
static void Initialize();
|
|
static void Shutdown();
|
|
static void BuildShaderDataBinding(boo::IGraphicsDataFactory::Context& ctx, CQuadDecal& decal);
|
|
};
|
|
|
|
} // namespace metaforce
|