#pragma once #include #include #include "gl_util.h" #include #include typedef struct Texture Texture; typedef struct ShaderProgram { GLuint id; ShaderUniform uniforms[GFX_MAX_UNIFORMS_PER_SHADER]; int num_uniforms; } ShaderProgram; /// Create a new shader program. bool gfx_build_shader_program(ShaderProgram*, const ShaderProgramDesc*); /// Destroy the shader program. void gfx_del_shader_program(ShaderProgram*);