|
| OpenGLShader (const std::string &vertexSrc, const std::string &fragmentSrc) |
|
| OpenGLShader (const std::string &vertexSrcFile, const std::string &fragmentSrcFile, std::shared_ptr< UniformBufferObject > ubo, bool bIsFile, const std::string &shaderName) |
|
virtual void | Bind () const override |
|
virtual void | Bind (const std::string &texShaderNames) const override |
|
virtual void | UnBind () const override |
|
void | UploadUniformMat4 (const std::string &name, const glm::mat4 &matrix) |
|
| Shader (std::shared_ptr< UniformBufferObject > ubo) |
|
virtual void | GenerateUniformBufferObject () |
|
virtual void | BindUniformBufferObject () |
|
std::shared_ptr< UniformBufferObject > | GetUniformBufferObject () const |
|
const std::string & | GetShaderName () const |
|
|
static Shader * | Create (const std::string &vertexSrc, const std::string &fragmentSrc) |
|
static Shader * | Create (const std::string &vertexSrcFile, const std::string &fragmentSrcFile, std::shared_ptr< UniformBufferObject > ubo, bool bIsFile, const std::string &shaderName="NoNamedShader") |
|
std::string | m_ShaderName |
|
◆ Bind() [1/2]
void Karma::OpenGLShader::Bind |
( |
| ) |
const |
|
overridevirtual |
◆ Bind() [2/2]
void Karma::OpenGLShader::Bind |
( |
const std::string & | texShaderNames | ) |
const |
|
overridevirtual |
◆ UnBind()
void Karma::OpenGLShader::UnBind |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files:
- Karma/src/Platform/OpenGL/OpenGLShader.h
- Karma/src/Platform/OpenGL/OpenGLShader.cpp