metaforce/Runtime/MP1/CFaceplateDecoration.hpp

28 lines
573 B
C++
Raw Permalink Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2017-02-12 03:17:18 +00:00
#include <optional>
#include "Runtime/CToken.hpp"
#include "Runtime/RetroTypes.hpp"
#include "Runtime/Graphics/Shaders/CTexturedQuadFilter.hpp"
2017-02-12 03:17:18 +00:00
2021-04-10 08:42:06 +00:00
namespace metaforce {
2017-02-12 03:17:18 +00:00
class CStateManager;
2018-12-08 05:30:43 +00:00
namespace MP1 {
class CFaceplateDecoration {
CAssetId x0_id;
TToken<CTexture> x4_tex;
bool xc_ready = false;
std::optional<CTexturedQuadFilter> m_texFilter;
2017-02-12 03:17:18 +00:00
public:
explicit CFaceplateDecoration(CStateManager& stateMgr);
2018-12-08 05:30:43 +00:00
void Update(float dt, CStateManager& stateMgr);
void Draw(CStateManager& stateMgr);
2017-02-12 03:17:18 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace MP1
2021-04-10 08:42:06 +00:00
} // namespace metaforce