enum glw::Wrapping — HIRO 0.7.0 documentation

# enum glw::Wrapping

## Overview

    #include <Texture.h>

    enum Wrapping {
        repeat        = uint32_t(gl::GLenum::GL_REPEAT),
        mirror_repeat = uint32_t(gl::GLenum::GL_MIRRORED_REPEAT),
        clamp         = uint32_t(gl::GLenum::GL_CLAMP_TO_EDGE),
        border_color  = uint32_t(gl::GLenum::GL_CLAMP_TO_BORDER),
    };

## Detailed Documentation

### Enum Values

    repeat

repeats image as tiles

    mirror_repeat

repeats image but flips closest tiles

    clamp

colors around image are equal to the image edges

    border_color

colors around have color specified using GL_TEXTURE_BORDER_COLOR