#include <opengl3.h>
|
static std::unique_ptr< shader_program > | load (const std::string &vertex_shader, const std::string &fragment_shader, const char *input0=nullptr, const char *input1=nullptr, const char *output0=nullptr, const char *output1=nullptr) |
|
Definition at line 61 of file opengl3.h.
shader_program::shader_program |
( |
| ) |
|
shader_program::~shader_program |
( |
| ) |
|
void shader_program::attach |
( |
const shader & |
shader | ) |
|
void shader_program::begin |
( |
| ) |
const |
void shader_program::end |
( |
| ) |
const |
unsigned int rs2::shader_program::get_id |
( |
| ) |
const |
|
inline |
int shader_program::get_uniform_location |
( |
const std::string & |
name | ) |
|
void shader_program::link |
( |
| ) |
|
std::unique_ptr< shader_program > shader_program::load |
( |
const std::string & |
vertex_shader, |
|
|
const std::string & |
fragment_shader, |
|
|
const char * |
input0 = nullptr , |
|
|
const char * |
input1 = nullptr , |
|
|
const char * |
output0 = nullptr , |
|
|
const char * |
output1 = nullptr |
|
) |
| |
|
static |
void shader_program::load_uniform |
( |
int |
location, |
|
|
float |
value |
|
) |
| |
void shader_program::load_uniform |
( |
int |
location, |
|
|
const float2 & |
vec |
|
) |
| |
void shader_program::load_uniform |
( |
int |
location, |
|
|
const float3 & |
vec |
|
) |
| |
void shader_program::load_uniform |
( |
int |
location, |
|
|
bool |
value |
|
) |
| |
void shader_program::load_uniform |
( |
int |
location, |
|
|
int |
value |
|
) |
| |
void shader_program::load_uniform |
( |
int |
location, |
|
|
const matrix4 & |
matrix |
|
) |
| |
unsigned int rs2::shader_program::_id |
|
private |
std::vector<const shader*> rs2::shader_program::_shaders |
|
private |
The documentation for this class was generated from the following files: