2018-10-06 20:42:33 -07:00
|
|
|
#pragma once
|
2017-06-09 22:34:39 -07:00
|
|
|
|
2019-09-27 19:53:03 -07:00
|
|
|
#include <array>
|
|
|
|
|
2022-01-31 16:06:54 -08:00
|
|
|
//#include <boo/graphicsdev/IGraphicsDataFactory.hpp>
|
2019-09-27 19:53:03 -07:00
|
|
|
|
|
|
|
#include <zeus/CColor.hpp>
|
|
|
|
#include <zeus/CVector2f.hpp>
|
|
|
|
#include <zeus/CVector3f.hpp>
|
2017-06-09 22:34:39 -07:00
|
|
|
|
2021-04-10 01:42:06 -07:00
|
|
|
namespace metaforce {
|
2017-06-09 22:34:39 -07:00
|
|
|
class CParticleSwoosh;
|
|
|
|
|
2018-12-07 21:30:43 -08:00
|
|
|
class CParticleSwooshShaders {
|
2017-06-09 22:34:39 -07:00
|
|
|
public:
|
2018-12-07 21:30:43 -08:00
|
|
|
enum class EShaderClass { Tex, NoTex };
|
|
|
|
|
|
|
|
struct Vert {
|
|
|
|
zeus::CVector3f m_pos;
|
|
|
|
zeus::CVector2f m_uv;
|
|
|
|
zeus::CColor m_color;
|
|
|
|
};
|
2017-06-09 22:34:39 -07:00
|
|
|
|
|
|
|
private:
|
2022-01-31 16:06:54 -08:00
|
|
|
// static std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_texZWrite;
|
|
|
|
// static std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_texNoZWrite;
|
|
|
|
// static std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_texAdditiveZWrite;
|
|
|
|
// static std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_texAdditiveNoZWrite;
|
|
|
|
//
|
|
|
|
// static std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_noTexZWrite;
|
|
|
|
// static std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_noTexNoZWrite;
|
|
|
|
// static std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_noTexAdditiveZWrite;
|
|
|
|
// static std::array<boo::ObjToken<boo::IShaderPipeline>, 2> m_noTexAdditiveNoZWrite;
|
2017-06-09 22:34:39 -07:00
|
|
|
|
|
|
|
public:
|
2018-12-07 21:30:43 -08:00
|
|
|
static void Initialize();
|
|
|
|
static void Shutdown();
|
|
|
|
static EShaderClass GetShaderClass(CParticleSwoosh& gen);
|
2022-01-31 16:06:54 -08:00
|
|
|
static void BuildShaderDataBinding(CParticleSwoosh& gen);
|
2017-06-09 22:34:39 -07:00
|
|
|
};
|
|
|
|
|
2021-04-10 01:42:06 -07:00
|
|
|
} // namespace metaforce
|