#pragma once #include typedef struct ShaderProgram ShaderProgram; typedef struct Material { ShaderUniform uniforms[GFX_MAX_UNIFORMS_PER_MATERIAL]; int num_uniforms; } Material; /// Activate the material. /// /// This activates the material's shader and configures the shader uniforms that /// are specific to the material. void material_activate(ShaderProgram* shader, const Material* material);