#include <prog.h>
◆ bind_ubo()
bool nngn::GLProgram::bind_ubo |
( |
const char * | name, |
|
|
u32 | binding ) const |
◆ create() [1/2]
bool nngn::GLProgram::create |
( |
std::string_view | vs_name, |
|
|
std::string_view | fs_name, |
|
|
std::span< const u8 > | vs, |
|
|
std::span< const u8 > | fs ) |
◆ create() [2/2]
bool nngn::GLProgram::create |
( |
u32 | vert, |
|
|
u32 | frag ) |
◆ destroy()
bool nngn::GLProgram::destroy |
( |
| ) |
|
◆ get_uniform_location()
bool nngn::GLProgram::get_uniform_location |
( |
const char * | name, |
|
|
int * | l ) const |
◆ set_uniform() [1/2]
bool nngn::GLProgram::set_uniform |
( |
const char * | name, |
|
|
GLsizei | n, |
|
|
const int * | v ) const |
◆ set_uniform() [2/2]
bool nngn::GLProgram::set_uniform |
( |
const char * | name, |
|
|
int | v ) const |
The documentation for this struct was generated from the following files: