src/shader_program.h in rays-0.1.28 vs src/shader_program.h in rays-0.1.29

- old
+ new

@@ -23,11 +23,14 @@ typedef ShaderProgram This; public: - ShaderProgram (const ShaderSource& vertex, const ShaderSource& fragment); + ShaderProgram ( + const ShaderSource& vertex, + const ShaderSource& fragment, + uint flags); ~ShaderProgram (); void set_uniform (const char* name, int arg1); @@ -56,9 +59,13 @@ void set_uniform (const char* name, const Coord4& vec4); void set_uniform (const char* name, const Texture& texture); GLuint id () const; + + const ShaderSource& vertex_shader_source () const; + + const ShaderSource& fragment_shader_source () const; operator bool () const; bool operator ! () const;