metaforce/Runtime/Graphics/Shaders/CDecalShaders.hpp

24 lines
697 B
C++
Raw Permalink Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2018-03-17 03:41:01 +00:00
#include <boo/graphicsdev/IGraphicsDataFactory.hpp>
2018-03-17 03:41:01 +00:00
2021-04-10 08:42:06 +00:00
namespace metaforce {
2018-03-23 21:56:17 +00:00
struct CQuadDecal;
2018-03-17 03:41:01 +00:00
2018-12-08 05:30:43 +00:00
class CDecalShaders {
2018-03-17 03:41:01 +00:00
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;
2018-03-17 03:41:01 +00:00
static inline boo::ObjToken<boo::IShaderPipeline> m_noTexZTestNoZWrite;
static inline boo::ObjToken<boo::IShaderPipeline> m_noTexAdditiveZTest;
2018-03-17 03:41:01 +00:00
public:
2018-12-08 05:30:43 +00:00
static void Initialize();
static void Shutdown();
static void BuildShaderDataBinding(boo::IGraphicsDataFactory::Context& ctx, CQuadDecal& decal);
2018-03-17 03:41:01 +00:00
};
2021-04-10 08:42:06 +00:00
} // namespace metaforce