[][src]Module uni_gl::common

Structs

WebGLBuffer

an OpenGL buffer created with [GLContext::create_buffer].

WebGLFrameBuffer

an OpenGL Framebuffer created with [GLContext::create_framebuffer].

WebGLProgram

an OpenGL shader created with [GLContext::create_shader].

WebGLRenderingContext

The OpenGL rendering context. This is the struct providing most of the OpenGL API.

WebGLShader

an OpenGL shader created with [GLContext::create_shader]

WebGLTexture

an OpenGL program created with [GLContext::create_program].

WebGLUniformLocation

the reference to a uniform (global GLSL variable) inside a shader, obtained with [GLContext::get_uniform_location].

WebGLVertexArray

an OpenGL vertex array object created with [GLContext::create_vertex_array].

Functions

print

Utility function to print messages to stdout (native) or the js console (web)