#include
<oglplus/glsl_source.hpp>
GLSLSource
class can be used to load and store GLSL
source code.
class GLSLSource { public: GLSLSource(GLSLSource&& tmp); explicit GLSLSource(const StrCRef& source); GLSLSource(const std::vector<StrCRef>& lits); template <size_t N> GLSLSource(const StrCRef (&lits)[N]); GLSLSource(const std::vector<String>& strs); GLSLSource(std::initializer_list<StrCRef> lits); GLSLSource(std::initializer_list<String> strs); explicit GLSLSource(const String& source); explicit GLSLSource(String&& source); static GLSLSource FromStream(std::istream& input); static GLSLSource FromFile(const char* path); static GLSLSource FromFile(const String& path); };