gramods
Static Public Member Functions | List of all members
gramods::gmGraphics::GLUtils Struct Reference

Utility functions for handling GL. More...

#include <GLUtils.hh>

Static Public Member Functions

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...
 

Detailed Description

Utility functions for handling GL.

Member Function Documentation

◆ 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: