metaforce/Runtime/Graphics/Shaders/CDecalShaders.hpp

24 lines
642 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2018-03-17 03:41:01 +00:00
#include "Runtime/Graphics/CGraphics.hpp"
2018-03-17 03:41:01 +00:00
2018-12-08 05:30:43 +00:00
namespace urde {
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:
2018-12-08 05:30:43 +00:00
static boo::ObjToken<boo::IShaderPipeline> m_texZTestNoZWrite;
static boo::ObjToken<boo::IShaderPipeline> m_texAdditiveZTest;
static boo::ObjToken<boo::IShaderPipeline> m_texRedToAlphaZTest;
2018-03-17 03:41:01 +00:00
2018-12-08 05:30:43 +00:00
static boo::ObjToken<boo::IShaderPipeline> m_noTexZTestNoZWrite;
static 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
};
2018-12-08 05:30:43 +00:00
} // namespace urde