#include <GL_ShaderProgram.hpp>
|
| | OpenGLShaderProgram (const std::filesystem::path &vertexPath, const std::filesystem::path &fragmentPath, const std::filesystem::path &geometryPath) |
| | ~OpenGLShaderProgram () override |
| void | Bind () const override |
| void | Unbind () const override |
| uint32_t | GetID () const override |
| void | SetBool (const char *name, const bool value) const override |
| void | SetInt (const char *name, const int32_t value) const override |
| void | SetFloat (const char *name, const float value) const override |
| void | SetVec2 (const char *name, const glm::vec2 &value) const override |
| void | SetVec3 (const char *name, const glm::vec3 &value) const override |
| void | SetVec4 (const char *name, const glm::vec4 &value) const override |
| void | SetMat2 (const char *name, const glm::mat2 &value) const override |
| void | SetMat3 (const char *name, const glm::mat3 &value) const override |
| void | SetMat4 (const char *name, const glm::mat4 &value) const override |
| std::string | GetShaderNames () const override |
|
| static std::shared_ptr< ShaderProgram > | Create (const std::filesystem::path &vertexPath, const std::filesystem::path &fragmentPath, const std::filesystem::path &geometryPath={}) |
| static std::shared_ptr< ShaderProgram > | Create (const Descriptor &descriptor) |
Definition at line 8 of file GL_ShaderProgram.hpp.
◆ OpenGLShaderProgram()
| Cori::Graphics::Internal::OpenGLShaderProgram::OpenGLShaderProgram |
( |
const std::filesystem::path & | vertexPath, |
|
|
const std::filesystem::path & | fragmentPath, |
|
|
const std::filesystem::path & | geometryPath ) |
◆ ~OpenGLShaderProgram()
| Cori::Graphics::Internal::OpenGLShaderProgram::~OpenGLShaderProgram |
( |
| ) |
|
|
override |
◆ Bind()
| void Cori::Graphics::Internal::OpenGLShaderProgram::Bind |
( |
| ) |
const |
|
overridevirtual |
◆ Create() [1/2]
◆ Create() [2/2]
| std::shared_ptr< ShaderProgram > Cori::Graphics::ShaderProgram::Create |
( |
const std::filesystem::path & | vertexPath, |
|
|
const std::filesystem::path & | fragmentPath, |
|
|
const std::filesystem::path & | geometryPath = {} ) |
|
staticnodiscardinherited |
◆ GetID()
| uint32_t Cori::Graphics::Internal::OpenGLShaderProgram::GetID |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetShaderNames()
| std::string Cori::Graphics::Internal::OpenGLShaderProgram::GetShaderNames |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ SetBool()
| void Cori::Graphics::Internal::OpenGLShaderProgram::SetBool |
( |
const char * | name, |
|
|
const bool | value ) const |
|
overridevirtual |
◆ SetFloat()
| void Cori::Graphics::Internal::OpenGLShaderProgram::SetFloat |
( |
const char * | name, |
|
|
const float | value ) const |
|
overridevirtual |
◆ SetInt()
| void Cori::Graphics::Internal::OpenGLShaderProgram::SetInt |
( |
const char * | name, |
|
|
const int32_t | value ) const |
|
overridevirtual |
◆ SetMat2()
| void Cori::Graphics::Internal::OpenGLShaderProgram::SetMat2 |
( |
const char * | name, |
|
|
const glm::mat2 & | value ) const |
|
overridevirtual |
◆ SetMat3()
| void Cori::Graphics::Internal::OpenGLShaderProgram::SetMat3 |
( |
const char * | name, |
|
|
const glm::mat3 & | value ) const |
|
overridevirtual |
◆ SetMat4()
| void Cori::Graphics::Internal::OpenGLShaderProgram::SetMat4 |
( |
const char * | name, |
|
|
const glm::mat4 & | value ) const |
|
overridevirtual |
◆ SetVec2()
| void Cori::Graphics::Internal::OpenGLShaderProgram::SetVec2 |
( |
const char * | name, |
|
|
const glm::vec2 & | value ) const |
|
overridevirtual |
◆ SetVec3()
| void Cori::Graphics::Internal::OpenGLShaderProgram::SetVec3 |
( |
const char * | name, |
|
|
const glm::vec3 & | value ) const |
|
overridevirtual |
◆ SetVec4()
| void Cori::Graphics::Internal::OpenGLShaderProgram::SetVec4 |
( |
const char * | name, |
|
|
const glm::vec4 & | value ) const |
|
overridevirtual |
◆ Unbind()
| void Cori::Graphics::Internal::OpenGLShaderProgram::Unbind |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: