metaforce/Runtime/Graphics/Shaders/CParticleSwooshShaders.hpp

43 lines
1.2 KiB
C++
Raw Permalink Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
#include <array>
2022-02-01 00:06:54 +00:00
//#include <boo/graphicsdev/IGraphicsDataFactory.hpp>
#include <zeus/CColor.hpp>
#include <zeus/CVector2f.hpp>
#include <zeus/CVector3f.hpp>
2021-04-10 08:42:06 +00:00
namespace metaforce {
class CParticleSwoosh;
2018-12-08 05:30:43 +00:00
class CParticleSwooshShaders {
public:
2018-12-08 05:30:43 +00:00
enum class EShaderClass { Tex, NoTex };
struct Vert {
zeus::CVector3f m_pos;
zeus::CVector2f m_uv;
zeus::CColor m_color;
};
private:
2022-02-01 00:06:54 +00: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;
public:
2018-12-08 05:30:43 +00:00
static void Initialize();
static void Shutdown();
static EShaderClass GetShaderClass(CParticleSwoosh& gen);
2022-02-01 00:06:54 +00:00
static void BuildShaderDataBinding(CParticleSwoosh& gen);
};
2021-04-10 08:42:06 +00:00
} // namespace metaforce