mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-14 18:06:10 +00:00
Transition all Textured/ColoredQuad usages
- Upload textures using staging buffer - Fixes SetOrtho logic - More work on thermal visor rendering (still WIP) - Rework Dawn backend initialization - Support MoltenVK on Metal - Various fixes & cleanup
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <optional>
|
||||
#include "Runtime/CToken.hpp"
|
||||
#include "Runtime/Graphics/CTexture.hpp"
|
||||
|
||||
#include "Runtime/Graphics/Shaders/CTexturedQuadFilter.hpp"
|
||||
#include <optional>
|
||||
|
||||
#include <zeus/CAABox.hpp>
|
||||
#include <zeus/CTransform.hpp>
|
||||
@@ -22,7 +23,6 @@ class CSimpleShadow {
|
||||
bool x48_24_collision : 1 = false;
|
||||
bool x48_25_alwaysCalculateRadius : 1 = true;
|
||||
bool x48_26_radiusCalculated : 1 = false;
|
||||
std::optional<CTexturedQuadFilter> m_filter;
|
||||
|
||||
public:
|
||||
CSimpleShadow(float scale, float userAlpha, float maxObjHeight, float displacement);
|
||||
@@ -33,7 +33,7 @@ public:
|
||||
float GetMaxObjectHeight() const { return x40_maxObjHeight; }
|
||||
void SetUserAlpha(float a) { x38_userAlpha = a; }
|
||||
const zeus::CTransform& GetTransform() const { return x0_xf; }
|
||||
void Render(const TLockedToken<CTexture>& tex);
|
||||
void Render(TLockedToken<CTexture>& tex);
|
||||
void Calculate(const zeus::CAABox& aabb, const zeus::CTransform& xf, const CStateManager& mgr);
|
||||
};
|
||||
} // namespace metaforce
|
||||
|
||||
Reference in New Issue
Block a user