|
| | GgColorTexture () |
| | GgColorTexture (const GLvoid *image, GLsizei width, GLsizei height, GLenum format=GL_RGB, GLenum type=GL_UNSIGNED_BYTE, GLenum internal=GL_RGB, GLenum wrap=GL_CLAMP_TO_EDGE, bool swizzle=true) |
| | GgColorTexture (const std::string &name, GLenum internal=0, GLenum wrap=GL_CLAMP_TO_EDGE) |
| virtual | ~GgColorTexture () |
| void | load (const GLvoid *image, GLsizei width, GLsizei height, GLenum format=GL_RGB, GLenum type=GL_UNSIGNED_BYTE, GLenum internal=GL_RGB, GLenum wrap=GL_CLAMP_TO_EDGE, bool swizzle=true) |
| void | load (const std::string &name, GLenum internal=0, GLenum wrap=GL_CLAMP_TO_EDGE) |
| | operator bool () const noexcept |
| bool | operator! () const noexcept |
| const GgTexture * | get () const |
| GLuint | getTexture () const |
| GLsizei | getWidth () const |
| GLsizei | getHeight () const |
| void | getSize (GLsizei *size) const |
| const GLsizei * | getSize () const |
| void | bind () const |
| void | unbind () const |