implemented basic renderer
This commit is contained in:
parent
be1abc3762
commit
5ba261c72c
11 changed files with 295 additions and 2 deletions
9
src/renderer/shader.h
Normal file
9
src/renderer/shader.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
#ifndef SHADER_H
|
||||
#define SHADER_H
|
||||
|
||||
int create_shader(const char* vertex_shader_code, const char* fragment_shader_code);
|
||||
void destroy_shader(int shader);
|
||||
|
||||
void bind_shader(int shader);
|
||||
|
||||
#endif // SHADER_H
|
Loading…
Add table
Add a link
Reference in a new issue