wrapper for gl uniform
#include <program.hpp>
Public Member Functions | |
uniform () | |
uniform (std::string const &name, int gl_slot, int size, int gl_type_code) | |
std::string const & | name () const |
int | gl_slot () const |
int | size () const |
int | gl_type_code () const |
Static Public Member Functions | |
static void | print_source (std::string const &source) |
Definition at line 49 of file program.hpp.
renderstack::uniform::uniform | ( | ) | [inline] |
Definition at line 52 of file program.hpp.
renderstack::uniform::uniform | ( | std::string const & | name, | |
int | gl_slot, | |||
int | size, | |||
int | gl_type_code | |||
) | [inline] |
Definition at line 53 of file program.hpp.
00054 : m_name (name) 00055 , m_gl_slot (gl_slot) 00056 , m_size (size) 00057 , m_gl_type_code(gl_type_code) 00058 { 00059 }
static void renderstack::uniform::print_source | ( | std::string const & | source | ) | [static] |
std::string const& renderstack::uniform::name | ( | ) | const [inline] |
Definition at line 63 of file program.hpp.
int renderstack::uniform::gl_slot | ( | ) | const [inline] |
Definition at line 64 of file program.hpp.
int renderstack::uniform::size | ( | ) | const [inline] |
Definition at line 65 of file program.hpp.
int renderstack::uniform::gl_type_code | ( | ) | const [inline] |
Definition at line 66 of file program.hpp.