21 #ifndef CLIPMAP_APPLICATION_H__
22 #define CLIPMAP_APPLICATION_H__
24 #include <GLES3/gl3.h>
36 void render(
unsigned int viewport_width,
unsigned int viewport_height);
std::string load_shader_string(const char *path)
static const char vertex_shader_source[]
GLsizei GLsizei GLchar * source
GLuint compile_shader(GLenum type, const char *source)
ClipmapApplication(unsigned int size, unsigned int levels, float clip_scale)
GLenum GLuint GLintptr GLsizeiptr size
GLuint compile_program(const char *vertex_shader_source, const char *fragment_shader_source)
void render(unsigned int viewport_width, unsigned int viewport_height)
typedef GLenum(GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC)(void)
typedef GLuint(GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC)(GLuint count
static const char fragment_shader_source[]