|
NoJobEngine 2.0.7
|
#include <Shader.h>
Public Member Functions | |
| virtual | ~Shader ()=default |
| virtual void | Bind () const =0 |
| virtual void | Unbind () const =0 |
| virtual void | SetMat4 (const std::string &name, const glm::mat4 &value)=0 |
| virtual void | SetInt (const std::string &name, int value)=0 |
| virtual void | SetFloat (const std::string &name, float value)=0 |
| virtual void | SetFloat3 (const std::string &name, const glm::vec3 &value)=0 |
| virtual void | SetFloat4 (const std::string &name, const glm::vec4 &value)=0 |
Static Public Member Functions | |
| static std::shared_ptr< Shader > | Create (const std::string &vertexSource, const std::string &fragmentSource) |
|
virtualdefault |
|
pure virtual |
Implemented in NoJob::OpenGLShader.
|
static |
Definition at line 8 of file Shader.cpp.
References NoJob::RendererAPI::GetAPI(), and NoJob::OpenGL.
Referenced by main(), NoJob::NavMeshDebugRenderer::NavMeshDebugRenderer(), and SetFloat4().
|
pure virtual |
Implemented in NoJob::OpenGLShader.
|
pure virtual |
Implemented in NoJob::OpenGLShader.
|
pure virtual |
Implemented in NoJob::OpenGLShader.
References Create().
|
pure virtual |
Implemented in NoJob::OpenGLShader.
|
pure virtual |
Implemented in NoJob::OpenGLShader.
|
pure virtual |
Implemented in NoJob::OpenGLShader.