mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-04-10 06:14:07 +08:00
15 lines
380 B
C++
15 lines
380 B
C++
#pragma once
|
|
|
|
#include <glad/glad.h>
|
|
#include <SOIL2.h>
|
|
#include <string>
|
|
|
|
namespace Shader {
|
|
void print_shader_log(GLuint shader);
|
|
void print_program_info(int prog);
|
|
bool check_opengl_error();
|
|
std::string read_shader_source(const char* file_path);
|
|
GLuint load_texture(const std::string& tex_image_path);
|
|
GLuint load_texture(const char* tex_image_path);
|
|
}
|