enum glw::DrawMode — HIRO 0.7.0 documentation

# enum glw::DrawMode

Specifies what kind of primitives are rendered.

    #include <ArrayObject.h>

    enum DrawMode {
        points         = uint32_t(gl::GLenum::GL_POINTS),
        lines          = uint32_t(gl::GLenum::GL_LINES),
        line_strip     = uint32_t(gl::GLenum::GL_LINE_STRIP),
        line_loop      = uint32_t(gl::GLenum::GL_LINE_LOOP),
        triangles      = uint32_t(gl::GLenum::GL_TRIANGLES),
        triangle_strip = uint32_t(gl::GLenum::GL_TRIANGLE_STRIP),
        triangle_fan   = uint32_t(gl::GLenum::GL_TRIANGLE_FAN),
        patches        = uint32_t(gl::GLenum::GL_PATCHES),
    };