aboutsummaryrefslogtreecommitdiff
path: root/src/scene/material_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scene/material_impl.h')
-rw-r--r--src/scene/material_impl.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/scene/material_impl.h b/src/scene/material_impl.h
new file mode 100644
index 0000000..488ffc7
--- /dev/null
+++ b/src/scene/material_impl.h
@@ -0,0 +1,13 @@
1#pragma once
2
3#include <gfx/scene.h>
4#include <gfx/sizes.h>
5
6typedef struct ShaderProgram ShaderProgram;
7
8typedef struct Material {
9 AlphaMode alpha_mode;
10 float alpha_cutoff;
11 int8_t num_uniforms;
12 ShaderUniform uniforms[GFX_MAX_UNIFORMS_PER_MATERIAL];
13} Material;