|
| | Shader (const Shader &)=delete |
| |
| | Shader (const std::string &name) |
| |
| | ~Shader () |
| |
| int | BindTexture (const std::string &name, int location) |
| |
| void | BindUBO (const std::string &name, UBOBindingPoint::Type bindingPoint) |
| |
| void | InitializeFromFiles (const std::string &vertexfile, const std::string &fragmentfile, const std::string &geometryfile="", std::map< std::string, std::string > defines={}) |
| |
| void | InitializeFromFiles (const std::string &vertexfile, const std::string &fragmentfile, std::map< std::string, std::string > defines) |
| |
| void | InitializeWithSource (std::string vertexsrc, std::string fragmentsrc, std::map< std::string, std::string > defines) |
| |
| void | InitializeWithSource (std::string vertexsrc, std::string fragmentsrc, std::string geometrysrc="", std::map< std::string, std::string > defines={}) |
| |
| bool | IsInitialized () |
| |
| int | LocateUniform (const std::string &name) |
| |
| Shader & | operator= (const Shader &)=delete |
| |
| void | UpdateUniform (int name, const Geometry::Point3D &value) |
| |
| void | UpdateUniform (int name, const Graphics::RGBAf &value) |
| |
| void | UpdateUniform (int name, const QuadTextureCoords &value) |
| |
| void | UpdateUniform (int name, const QuadVertices &value) |
| |
| void | UpdateUniform (int name, float value) |
| |
| void | UpdateUniform (int name, int value) |
| |
| void | Use () |
| |
◆ ~Shader()
◆ Shader() [1/2]
| Shader |
( |
const std::string & |
name | ) |
|
|
protected |
◆ Shader() [2/2]
◆ BindTexture()
| int BindTexture |
( |
const std::string & |
name, |
|
|
int |
location |
|
) |
| |
|
protected |
◆ BindUBO()
◆ InitializeFromFiles() [1/2]
| void InitializeFromFiles |
( |
const std::string & |
vertexfile, |
|
|
const std::string & |
fragmentfile, |
|
|
const std::string & |
geometryfile = "", |
|
|
std::map< std::string, std::string > |
defines = {} |
|
) |
| |
|
protected |
◆ InitializeFromFiles() [2/2]
| void InitializeFromFiles |
( |
const std::string & |
vertexfile, |
|
|
const std::string & |
fragmentfile, |
|
|
std::map< std::string, std::string > |
defines |
|
) |
| |
|
protected |
◆ InitializeWithSource() [1/2]
| void InitializeWithSource |
( |
std::string |
vertexsrc, |
|
|
std::string |
fragmentsrc, |
|
|
std::map< std::string, std::string > |
defines |
|
) |
| |
|
protected |
◆ InitializeWithSource() [2/2]
| void InitializeWithSource |
( |
std::string |
vertexsrc, |
|
|
std::string |
fragmentsrc, |
|
|
std::string |
geometrysrc = "", |
|
|
std::map< std::string, std::string > |
defines = {} |
|
) |
| |
|
protected |
◆ IsInitialized()
◆ LocateUniform()
| int LocateUniform |
( |
const std::string & |
name | ) |
|
|
protected |
◆ operator=()
◆ UpdateUniform() [1/6]
◆ UpdateUniform() [2/6]
◆ UpdateUniform() [3/6]
◆ UpdateUniform() [4/6]
◆ UpdateUniform() [5/6]
| void UpdateUniform |
( |
int |
name, |
|
|
float |
value |
|
) |
| |
|
protected |
◆ UpdateUniform() [6/6]
| void UpdateUniform |
( |
int |
name, |
|
|
int |
value |
|
) |
| |
|
protected |
◆ Use()
◆ name
The documentation for this class was generated from the following files: