 |
Stellarium 0.12.4
|
20 #ifndef _STELGLSLSHADER_HPP_
21 #define _STELGLSLSHADER_HPP_
23 #include "VecMath.hpp"
184 virtual bool addVertexShader(
const QString& name,
const QString& source) = 0;
212 virtual bool build() = 0;
221 virtual void unlock() = 0;
227 virtual QString
log()
const = 0;
236 virtual void bind() = 0;
300 Q_ASSERT_X(
false, Q_FUNC_INFO,
301 "Unsupported uniform data type. "
302 "Supported types: bool, int, float, Vec2f, Vec3f, Vec4f, Mat4f");
306 virtual void setUniformValue_(
const char*
const name,
const bool value) = 0;
312 virtual void setUniformValue_(
const char*
const name,
const float value) = 0;
327 #endif // _STELGLSLSHADER_HPP_