aboutsummaryrefslogtreecommitdiff
path: root/src/scene/material_impl.h
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2025-07-04 10:27:06 -0700
committer3gg <3gg@shellblade.net>2025-07-04 10:27:06 -0700
commit1ec46bead3cf87971a2329f9ef4ddde5a0c48325 (patch)
tree3f4c404467c3ad9c94265295f4aa1b97a10a9eb3 /src/scene/material_impl.h
parente386405ac636b7e4a41d5c03eb363e9c120ce919 (diff)
Clarify doc
Diffstat (limited to 'src/scene/material_impl.h')
-rw-r--r--src/scene/material_impl.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/scene/material_impl.h b/src/scene/material_impl.h
deleted file mode 100644
index a6aa95b..0000000
--- a/src/scene/material_impl.h
+++ /dev/null
@@ -1,16 +0,0 @@
1#pragma once
2
3#include <gfx/scene/material.h>
4
5typedef struct ShaderProgram ShaderProgram;
6
7typedef struct Material {
8 ShaderUniform uniforms[GFX_MAX_UNIFORMS_PER_MATERIAL];
9 int num_uniforms;
10} Material;
11
12/// Activate the material.
13///
14/// This activates the material's shader and configures the shader uniforms that
15/// are specific to the material.
16void material_activate(ShaderProgram* shader, const Material* material);