#include <shader.hh>
|
static Shader & | Instance () |
|
static bool | Compile (const std::string &shader_name, const std::string &shader_code, GLenum shader_type, GLuint &shader_id) |
|
Definition at line 38 of file shader.hh.
◆ Activate()
void Activate |
( |
const String & |
name | ) |
|
◆ Compile()
static bool Compile |
( |
const std::string & |
shader_name, |
|
|
const std::string & |
shader_code, |
|
|
GLenum |
shader_type, |
|
|
GLuint & |
shader_id |
|
) |
| |
|
static |
◆ GetCurrentName()
String GetCurrentName |
( |
| ) |
const |
◆ GetCurrentProgram()
GLuint GetCurrentProgram |
( |
| ) |
const |
◆ Instance()
◆ IsActive()
◆ IsValid()
◆ Link()
void Link |
( |
const std::string & |
pr_name, |
|
|
const std::string & |
vs_code, |
|
|
const std::string & |
fs_code |
|
) |
| |
◆ PopProgram()
◆ PreGLInit()
◆ PushProgram()
◆ Setup()
◆ UpdateState()
The documentation for this class was generated from the following file:
- build-2.8-doc/stage/include/ost/gfx/shader.hh