2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-02-18 02:42:32 +00:00
|
|
|
|
2019-09-28 02:53:03 +00:00
|
|
|
#include <array>
|
|
|
|
|
2022-02-01 00:06:54 +00:00
|
|
|
#include "Runtime/Graphics/CGraphics.hpp"
|
2016-02-18 02:42:32 +00:00
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
namespace metaforce {
|
2016-02-18 02:42:32 +00:00
|
|
|
class CLineRenderer;
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
class CLineRendererShaders {
|
2022-02-01 00:06:54 +00:00
|
|
|
// static inline std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_texAlpha;
|
|
|
|
// static inline std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_texAdditive;
|
|
|
|
//
|
|
|
|
// static inline std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_noTexAlpha;
|
|
|
|
// static inline std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_noTexAdditive;
|
|
|
|
//
|
|
|
|
// static inline std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_texAlphaZ;
|
|
|
|
// static inline std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_texAdditiveZ;
|
|
|
|
//
|
|
|
|
// static inline std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_noTexAlphaZ;
|
|
|
|
// static inline std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_noTexAdditiveZ;
|
|
|
|
//
|
|
|
|
// static inline std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_noTexAlphaZGEqual;
|
2018-05-20 06:14:57 +00:00
|
|
|
|
2016-02-18 02:42:32 +00:00
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
static void Initialize();
|
|
|
|
static void Shutdown();
|
2022-02-01 00:06:54 +00:00
|
|
|
static void BuildShaderDataBinding(CLineRenderer& renderer,
|
2022-02-18 00:38:31 +00:00
|
|
|
const aurora::gfx::TextureHandle& texture, bool additive, bool zTest,
|
2018-12-08 05:30:43 +00:00
|
|
|
bool zGEqual);
|
2016-02-18 02:42:32 +00:00
|
|
|
};
|
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
} // namespace metaforce
|