metaforce/Runtime/Graphics/Shaders/CDecalShaders.hpp

27 lines
633 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 "Graphics/CGraphics.hpp"
namespace urde
{
2018-03-23 21:56:17 +00:00
struct CQuadDecal;
2018-03-17 03:41:01 +00:00
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:
2018-10-07 02:59:17 +00:00
static void Initialize();
static void Shutdown();
2018-03-17 03:41:01 +00:00
static void BuildShaderDataBinding(boo::IGraphicsDataFactory::Context& ctx, CQuadDecal& decal);
};
}