12 #ifndef SHADER_H_6014714286
13 #define SHADER_H_6014714286
23 #include <Carna/Carna.h>
81 Shader(
unsigned int type,
const std::string& src );
91 const unsigned int id;
108 #endif // SHADER_H_6014714286
const unsigned int id
Identifies the maintained OpenGL shader object.
static const unsigned int TYPE_VERTEX_SHADER
Indicates shader object of GL_VERTEX_SHADER type.
static const unsigned int TYPE_GEOMETRY_SHADER
Indicates shader object of GL_GEOMETRY_SHADER type.
static const unsigned int TYPE_FRAGMENT_SHADER
Indicates shader object of GL_FRAGMENT_SHADER type.
const unsigned int type
Holds the type of the maintained OpenGL shader object. This is TYPE_VERTEX_SHADER, TYPE_GEOMETRY_SHADER or TYPE_FRAGMENT_SHADER usually.
Maintains an OpenGL shader object. Realizes the RAII-idiom.
#define NON_COPYABLE
Features class it is placed in as non-copyable.