Module opengl_utils

Source

Functions§

check_errors
Check for OpenGL errors; return Ok if there are none, else all of the errors as strings in a Vec
create_whitespace_cstring_with_len
Create a CString of ‘len’ spaces (with null termination)
get_programiv
Get an integer value from a particular program
get_shader_error
Assummes an error exists; get its length (using ‘f’) and then get the error (using ‘e’) as a String
get_shaderiv
Get an integer value from a particular shader