2024-04-29 22:41:13 +12:00
|
|
|
#ifndef __SHADERS_H__
|
|
|
|
#define __SHADERS_H__
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
uint32_t compile_shader(const char* path, int32_t type);
|
2024-04-30 23:02:19 +12:00
|
|
|
uint32_t compile_shader_text(const char* name, const char* text, int32_t type);
|
2024-04-29 22:41:13 +12:00
|
|
|
uint32_t load_shader_program(uint32_t shader, ...);
|
|
|
|
|
|
|
|
#endif
|