1 2 3 4 5 6 7 8 9 10 11 12 13
#pragma once #include <gfx/scene.h> #include <gfx/sizes.h> typedef struct ShaderProgram ShaderProgram; typedef struct Material { AlphaMode alpha_mode; float alpha_cutoff; int8_t num_uniforms; ShaderUniform uniforms[GFX_MAX_UNIFORMS_PER_MATERIAL]; } Material;