mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-28 22:29:36 +00:00
Standardised indentation and added one extra piece of documentation.
This commit is contained in:
parent
20aa9e291d
commit
88e237b8de
@ -12,6 +12,12 @@
|
||||
#include "OpenGL.hpp"
|
||||
|
||||
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 {
|
||||
public:
|
||||
enum {
|
||||
@ -58,6 +64,7 @@ namespace OpenGL {
|
||||
GLuint compile_shader(const char *source, GLenum type);
|
||||
GLuint _shader_program;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* Shader_hpp */
|
||||
|
Loading…
x
Reference in New Issue
Block a user