Structs
an OpenGL buffer created with
GLContext::create_buffer
.an OpenGL Framebuffer created with
GLContext::create_framebuffer
.an OpenGL shader created with
GLContext::create_shader
.The OpenGL rendering context. This is the struct providing most of the OpenGL API.
an OpenGL shader created with
GLContext::create_shader
an OpenGL program created with
GLContext::create_program
.the reference to a uniform (global GLSL variable) inside a shader, obtained with
GLContext::get_uniform_location
.an OpenGL vertex array object created with
GLContext::create_vertex_array
.Functions
Utility function to print messages to stdout (native) or the js console (web)