aboutsummaryrefslogtreecommitdiff
path: root/source/Material.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-04-25 20:22:07 -0700
committerrtk0c <[email protected]>2022-04-25 20:22:07 -0700
commit855da86feae1a5cc14dc2d486ccf115f484dbc2e (patch)
tree8284c6a6bdfb1a919eb1a22f466f4180a329c7f3 /source/Material.hpp
parentd78a55de5003dbb040f1d1c369409e63a2c806d8 (diff)
Changeset: 16 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;