X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fshader.h;h=961cb6944fb5f553ad3abbdb5af90675ac897230;hb=922fac753e31d97fc88daa166e93e4c5572bd2ba;hp=63af9b3ab74862c10fb417b68bdaa18786c8e9b9;hpb=9733137499a84f44c29d06d2551d41a903de1112;p=libs%2Fgl.git diff --git a/source/shader.h b/source/shader.h index 63af9b3a..961cb694 100644 --- a/source/shader.h +++ b/source/shader.h @@ -7,6 +7,12 @@ namespace Msp { namespace GL { +/** +A single shader stage. Shaders must be attached to a Program to be used. + +This class can't be instantiated directly. Use one of the VertexShader and +FragmentShader classes to create Shaders. +*/ class Shader { private: