Public Member Functions | |
texture_rep (opengl_functions &glfcns) | |
texture_rep (opengl_functions &glfcns, GLuint id, int w, int h, int tw, int th) | |
~texture_rep (void) | |
void | bind (int mode) const |
void | tex_coord (double q, double r) const |
Public Attributes | |
opengl_functions & | m_glfcns |
int | m_h |
GLuint | m_id |
int | m_th |
int | m_tw |
double | m_tx |
double | m_ty |
bool | m_valid |
int | m_w |
Definition at line 101 of file gl-render.cc.
|
inline |
Definition at line 105 of file gl-render.cc.
|
inline |
Definition at line 110 of file gl-render.cc.
|
inline |
Definition at line 116 of file gl-render.cc.
References opengl_functions::glDeleteTextures(), m_glfcns, m_id, and m_valid.
|
inline |
Definition at line 122 of file gl-render.cc.
References opengl_functions::glBindTexture(), m_glfcns, m_id, and m_valid.
|
inline |
Definition at line 128 of file gl-render.cc.
References opengl_functions::glTexCoord2d(), m_glfcns, m_tx, m_ty, m_valid, and r.
opengl_functions& opengl_texture::texture_rep::m_glfcns |
Definition at line 134 of file gl-render.cc.
Referenced by ~texture_rep(), bind(), and tex_coord().
int opengl_texture::texture_rep::m_h |
Definition at line 136 of file gl-render.cc.
GLuint opengl_texture::texture_rep::m_id |
Definition at line 135 of file gl-render.cc.
Referenced by ~texture_rep(), and bind().
int opengl_texture::texture_rep::m_th |
Definition at line 137 of file gl-render.cc.
int opengl_texture::texture_rep::m_tw |
Definition at line 137 of file gl-render.cc.
double opengl_texture::texture_rep::m_tx |
Definition at line 138 of file gl-render.cc.
Referenced by tex_coord().
double opengl_texture::texture_rep::m_ty |
Definition at line 138 of file gl-render.cc.
Referenced by tex_coord().
bool opengl_texture::texture_rep::m_valid |
Definition at line 139 of file gl-render.cc.
Referenced by ~texture_rep(), bind(), and tex_coord().
int opengl_texture::texture_rep::m_w |
Definition at line 136 of file gl-render.cc.