aboutsummaryrefslogtreecommitdiff
path: root/source/Material.hpp
diff options
context:
space:
mode:
authorhnOsmium0001 <[email protected]>2022-04-25 20:22:07 -0700
committerhnOsmium0001 <[email protected]>2022-04-25 20:22:07 -0700
commitf54370de7e4214cb7813d26b1a39a8f6e42b7b56 (patch)
tree20913b4099b77af933fcd2ebb4e73f53b366ad8f /source/Material.hpp
parentc8ebee643f23c34ff57f69f8dfcf1903b59ea9d1 (diff)
Initial work on rendering sprites to screen
Diffstat (limited to 'source/Material.hpp')
-rw-r--r--source/Material.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Material.hpp b/source/Material.hpp
index 623a022..eb05a73 100644
--- a/source/Material.hpp
+++ b/source/Material.hpp
@@ -105,6 +105,9 @@ public:
void UseUniforms() const;
};
+// Initialized in main()
+inline RcPtr<Material> gDefaultMaterial;
+
class IresMaterial : public IresObject {
private:
RcPtr<Material> mInstance;