metaforce/Runtime/MP1/CFaceplateDecoration.hpp

25 lines
487 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2017-02-12 03:17:18 +00:00
#include "RetroTypes.hpp"
#include "Graphics/Shaders/CTexturedQuadFilter.hpp"
2018-12-08 05:30:43 +00:00
namespace urde {
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:
2018-12-08 05:30:43 +00:00
CFaceplateDecoration(CStateManager& stateMgr);
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
} // namespace urde