Utility functions for handling GL.
More...
#include <GLUtils.hh>
|
static bool | check_shader_program (GLuint program_id) |
| Checks the status of the specified shader program and returns true if its last validation status was successful. More...
|
|
static bool | check_framebuffer () |
| Checks the status of the current frame buffer and returns true if it is complete. More...
|
|
static int | nextPowerOfTwo (int v) |
| Quickly calculates the next power of two. More...
|
|
Utility functions for handling GL.
◆ check_framebuffer()
bool gramods::gmGraphics::GLUtils::check_framebuffer |
( |
| ) |
|
|
static |
Checks the status of the current frame buffer and returns true if it is complete.
◆ check_shader_program()
bool gramods::gmGraphics::GLUtils::check_shader_program |
( |
GLuint |
program_id | ) |
|
|
static |
Checks the status of the specified shader program and returns true if its last validation status was successful.
◆ nextPowerOfTwo()
int gramods::gmGraphics::GLUtils::nextPowerOfTwo |
( |
int |
v | ) |
|
|
static |
Quickly calculates the next power of two.
The documentation for this struct was generated from the following files:
- /home/karlu/private/program/gramods/modules/gmGraphics/include/gmGraphics/GLUtils.hh
- /home/karlu/private/program/gramods/modules/gmGraphics/src/GLUtils.cpp