#include <src/renderer/Shader.h>
|
| | Shader (const char *cVertexPath, const char *cFragmentPath) |
| |
| void | Use () const |
| |
| void | SetMat4 (const std::string &name, const Core::Mat4 &mat) const |
| |
| void | SetVec2 (const std::string &name, const Core::Vec3 &vec) const |
| |
| void | SetVec3 (const std::string &name, const Core::Vec3 &vec) const |
| |
| void | SetInt (const std::string &name, int iValue) const |
| |
◆ Shader()
| Renderer::Shader::Shader |
( |
const char * |
cVertexPath, |
|
|
const char * |
cFragmentPath |
|
) |
| |
|
inline |
◆ checkCompileErrors()
| void Renderer::Shader::checkCompileErrors |
( |
unsigned int |
uiShader, |
|
|
std::string |
strType |
|
) |
| |
|
inlineprivate |
◆ SetInt()
| void Renderer::Shader::SetInt |
( |
const std::string & |
name, |
|
|
int |
iValue |
|
) |
| const |
|
inline |
◆ SetMat4()
| void Renderer::Shader::SetMat4 |
( |
const std::string & |
name, |
|
|
const Core::Mat4 & |
mat |
|
) |
| const |
|
inline |
◆ SetVec2()
| void Renderer::Shader::SetVec2 |
( |
const std::string & |
name, |
|
|
const Core::Vec3 & |
vec |
|
) |
| const |
|
inline |
◆ SetVec3()
| void Renderer::Shader::SetVec3 |
( |
const std::string & |
name, |
|
|
const Core::Vec3 & |
vec |
|
) |
| const |
|
inline |
◆ Use()
| void Renderer::Shader::Use |
( |
| ) |
const |
|
inline |
◆ ID
| unsigned int Renderer::Shader::ID |
The documentation for this class was generated from the following file: