Inviwo
0.9.10.1
Inviwo documentation
|
Encapsulate a GLenum shader type, and related information. More...
#include <shadertype.h>
Public Member Functions | |
ShaderType (GLenum type) | |
ShaderType (const ShaderType &)=default | |
ShaderType & | operator= (const ShaderType &)=default |
operator GLenum () const | |
operator bool () const | |
std::string | extension () const |
Static Public Member Functions | |
static std::string | extension (const ShaderType &type) |
static ShaderType | get (const std::string &ext) |
Static Public Attributes | |
static ShaderType | Vertex = ShaderType(GL_VERTEX_SHADER) |
static ShaderType | Geometry = ShaderType(GL_GEOMETRY_SHADER) |
static ShaderType | Fragment = ShaderType(GL_FRAGMENT_SHADER) |
static ShaderType | TessellationControl = ShaderType(GL_TESS_CONTROL_SHADER) |
static ShaderType | TessellationEvaluation = ShaderType(GL_TESS_EVALUATION_SHADER) |
static ShaderType | Compute = ShaderType(GL_COMPUTE_SHADER) |
Encapsulate a GLenum shader type, and related information.