enum glw::ShaderType — HIRO 0.7.0 documentation

# enum glw::ShaderType

Indicates the type of shader.

    #include <ShaderProgram.h>

    enum ShaderType {
        vertex    =(unsigned int)gl::GLenum::GL_VERTEX_SHADER,
        tess_ctrl =(unsigned int)gl::GLenum::GL_TESS_CONTROL_SHADER,
        tess_eval =(unsigned int)gl::GLenum::GL_TESS_EVALUATION_SHADER,
        geometry  =(unsigned int)gl::GLenum::GL_GEOMETRY_SHADER,
        fragment  =(unsigned int)gl::GLenum::GL_FRAGMENT_SHADER,
        compute   =(unsigned int)gl::GLenum::GL_COMPUTE_SHADER,
        none      =(unsigned int)gl::GLenum::GL_NONE,
    };