1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-17 13:29:02 +00:00

Standardised indentation and added one extra piece of documentation.

This commit is contained in:
Thomas Harte 2016-04-19 20:53:55 -04:00
parent 20aa9e291d
commit 88e237b8de

View File

@ -12,6 +12,12 @@
#include "OpenGL.hpp" #include "OpenGL.hpp"
namespace OpenGL { namespace OpenGL {
/*!
A @c Shader compiles and holds a shader object, based on a single
vertex program and a single fragment program. Attribute bindings
may be supplied if desired.
*/
class Shader { class Shader {
public: public:
enum { enum {
@ -58,6 +64,7 @@ namespace OpenGL {
GLuint compile_shader(const char *source, GLenum type); GLuint compile_shader(const char *source, GLenum type);
GLuint _shader_program; GLuint _shader_program;
}; };
} }
#endif /* Shader_hpp */ #endif /* Shader_hpp */