mirror of https://github.com/AxioDL/metaforce.git
32 lines
695 B
C++
32 lines
695 B
C++
#pragma once
|
|
|
|
#include <array>
|
|
|
|
#include "Runtime/CToken.hpp"
|
|
#include "Runtime/Graphics/CGraphics.hpp"
|
|
|
|
#include <zeus/CMatrix4f.hpp>
|
|
|
|
namespace metaforce {
|
|
class CTexture;
|
|
|
|
class CXRayBlurFilter {
|
|
struct Uniform {
|
|
std::array<zeus::CMatrix4f, 8> m_uv;
|
|
};
|
|
TLockedToken<CTexture> m_paletteTex;
|
|
// aurora::gfx::TextureHandle m_booTex;
|
|
// boo::ObjToken<boo::IGraphicsBufferS> m_vbo;
|
|
// boo::ObjToken<boo::IGraphicsBufferD> m_uniBuf;
|
|
// boo::ObjToken<boo::IShaderDataBinding> m_dataBind;
|
|
Uniform m_uniform;
|
|
|
|
public:
|
|
static void Initialize();
|
|
static void Shutdown();
|
|
explicit CXRayBlurFilter(TLockedToken<CTexture>& tex);
|
|
void draw(float amount);
|
|
};
|
|
|
|
} // namespace metaforce
|