Techneck/code/source-c/shaders.h

27 lines
504 B
C

#ifndef TC_SHADERS_H
#define TC_SHADERS_H
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <glad/glad.h>
#include <utility/math.h>
typedef struct tc_shader_program
{
uint32_t program_id;
} tc_shader_program_s;
tc_shader_program_s tc_make_shader_program (char *vertex_path, char *fragment_path);
void tc_shader_uniform_mat4f (tc_shader_program_s *program, char *location, tc_mat4f_s matrix);
#endif