mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-06-07 16:33:28 +00:00
29 lines
472 B
C++
29 lines
472 B
C++
#pragma once
|
|
|
|
#include <array>
|
|
|
|
#include "hsh/hsh.h"
|
|
|
|
namespace metaforce {
|
|
class CParticleSwoosh;
|
|
|
|
class CParticleSwooshShaders {
|
|
public:
|
|
enum class EShaderClass { Tex, NoTex };
|
|
|
|
struct Vert {
|
|
hsh::float3 m_pos;
|
|
hsh::float2 m_uv;
|
|
hsh::float4 m_color;
|
|
};
|
|
|
|
struct Uniform {
|
|
hsh::float4x4 m_xf;
|
|
};
|
|
|
|
static EShaderClass GetShaderClass(CParticleSwoosh& gen);
|
|
static void BuildShaderDataBinding(CParticleSwoosh& gen);
|
|
};
|
|
|
|
} // namespace metaforce
|