aboutsummaryrefslogtreecommitdiff
path: root/src/scene/mesh_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scene/mesh_impl.h')
-rw-r--r--src/scene/mesh_impl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/scene/mesh_impl.h b/src/scene/mesh_impl.h
new file mode 100644
index 0000000..c7e2211
--- /dev/null
+++ b/src/scene/mesh_impl.h
@@ -0,0 +1,11 @@
1#pragma once
2
3typedef struct Geometry Geometry;
4typedef struct Material Material;
5typedef struct ShaderProgram ShaderProgram;
6
7typedef struct Mesh {
8 const Geometry* geometry;
9 const Material* material;
10 ShaderProgram* shader; // TODO: Move this back to Material?
11} Mesh;