class
#include <OE/Platform/OpenGL/GLShader.hpp>
GLShader
Contents
Base classes
- class Shader
Constructors, destructors, conversion operators
Public functions
- void bind() const override
- void attachFromBinary(ShaderType type, const std::vector<char>& binary) override
- void attachFromSource(ShaderType type, const std::string& source) override
- void finalize() override
- void setUniform1i(const std::string& name, int value)
- void setUniform1iv(const std::string& name, int* value, int count)
- void setUniform1f(const std::string& name, float value)
-
void setUniform2f(const std::string& name,
const Math::
Vec2f& vector) -
void setUniform3f(const std::string& name,
const Math::
Vec3f& vector) -
void setUniform4f(const std::string& name,
const Math::
Vec4f& vector) -
void setUniformMat4(const std::string& name,
const Math::
Mat4& matrix) - void bindUBO(const GLuint block_index, const GLuint uboSlot) const
- void matchLayout(Mesh* mesh) const override