X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fprogram.h;h=a3fe57bfbece6c409cf7e967191e580a5fd5c5ac;hp=53daaa76caad73669d09aaab4ba21453e9a3b107;hb=97b8f0d945474582c2213b70418d399e5641f0d5;hpb=fc0f53b1981436d39a27884376e852dca5671fda diff --git a/source/program.h b/source/program.h index 53daaa76..a3fe57bf 100644 --- a/source/program.h +++ b/source/program.h @@ -31,6 +31,7 @@ public: void attribute(unsigned, const std::string &); void fragment_shader(const std::string &); + void geometry_shader(const std::string &); void standard(); void vertex_shader(const std::string &); }; @@ -79,6 +80,9 @@ public: /// Constructs a Program with standard features. Program(const ProgramBuilder::StandardFeatures &); + /// Constructs a Program from unified source code using ProgramCompiler. + Program(const std::string &); + /// Constructs a Program from vertex and fragment shader source code. Program(const std::string &, const std::string &);