Module cognitive_graphics::gl_tools [] [src]

This module contains common GL-related tools.

Enums

GlslVersion

Functions

create_program

Create and link shader program.

create_shader

Create and compile shader.

get_attrib_location

Get location attribute variable in linked program.

get_info_log

Get GL info log.

get_shading_lang_version

Get latests supported version of GL ES shading language.

get_uniform_location

Get location of uniform variable in linked program.

prepare_shader_program

Create program and link with shaders.