2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 22:31:21 +00:00
metaforce/Runtime/Graphics/Shaders/CLineRendererShaders.hpp
Lioncash a633b8e8fd General: Normalize RuntimeCommon include paths
Performs the same normalizing done to the RuntimeCommonB target, now all
of the runtime headers have normalized include paths.
2019-09-28 04:14:29 -04:00

36 lines
1.2 KiB
C++

#pragma once
#include <array>
#include "Runtime/Graphics/CGraphics.hpp"
#include <boo/graphicsdev/IGraphicsDataFactory.hpp>
namespace urde {
class CLineRenderer;
class CLineRendererShaders {
static std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_texAlpha;
static std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_texAdditive;
static std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_noTexAlpha;
static std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_noTexAdditive;
static std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_texAlphaZ;
static std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_texAdditiveZ;
static std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_noTexAlphaZ;
static std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_noTexAdditiveZ;
static std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_noTexAlphaZGEqual;
public:
static void Initialize();
static void Shutdown();
static void BuildShaderDataBinding(boo::IGraphicsDataFactory::Context& ctx, CLineRenderer& renderer,
const boo::ObjToken<boo::ITexture>& texture, bool additive, bool zTest,
bool zGEqual);
};
} // namespace urde