metaforce/Runtime/Graphics/Shaders/CParticleSwooshShaders.hpp

29 lines
462 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
#include <array>
#include "hsh/hsh.h"
2018-12-08 05:30:43 +00:00
namespace urde {
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 {
hsh::float3 m_pos;
hsh::float2 m_uv;
hsh::float4 m_color;
2018-12-08 05:30:43 +00:00
};
struct Uniform {
hsh::float4x4 m_xf;
};
2018-12-08 05:30:43 +00:00
static EShaderClass GetShaderClass(CParticleSwoosh& gen);
static void BuildShaderDataBinding(CParticleSwoosh& gen);
};
2018-12-08 05:30:43 +00:00
} // namespace urde