2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-14 08:06:08 +00:00

aurora: Reimplement textures

This commit is contained in:
2022-02-17 19:38:31 -05:00
parent dcc040c7e0
commit c64f9eb2d1
61 changed files with 7516 additions and 213 deletions

View File

@@ -13,7 +13,7 @@
namespace metaforce {
class CWorldShadowShader {
std::shared_ptr<aurora::gfx::TextureHandle> m_tex;
aurora::gfx::TextureHandle m_tex;
std::optional<CTexturedQuadFilter> m_prevQuad;
u32 m_w, m_h;
@@ -40,7 +40,7 @@ public:
u32 GetWidth() const { return m_w; }
u32 GetHeight() const { return m_h; }
const std::shared_ptr<aurora::gfx::TextureHandle>& GetTexture() const { return m_tex; }
const aurora::gfx::TextureHandle& GetTexture() const { return m_tex; }
};
} // namespace metaforce