Classes | |
class | texture_rep |
Public Member Functions | |
opengl_texture (const opengl_texture &)=default | |
opengl_texture (opengl_functions &glfcns) | |
opengl_texture (opengl_functions &glfcns, GLuint id, int w, int h, int tw, int th) | |
~opengl_texture (void)=default | |
void | bind (int mode=GL_TEXTURE_2D) const |
bool | is_valid (void) const |
opengl_texture & | operator= (const opengl_texture &)=default |
void | tex_coord (double q, double r) const |
Static Public Member Functions | |
static opengl_texture | create (opengl_functions &glfcns, const octave_value &data) |
Private Member Functions | |
opengl_texture (const std::shared_ptr< texture_rep > &new_rep) | |
Private Attributes | |
std::shared_ptr< texture_rep > | m_rep |
Definition at line 97 of file gl-render.cc.
|
inline |
Definition at line 144 of file gl-render.cc.
Referenced by create().
|
inline |
Definition at line 148 of file gl-render.cc.
|
default |
|
default |
|
inlineprivate |
Definition at line 170 of file gl-render.cc.
|
inline |
Definition at line 162 of file gl-render.cc.
References m_rep.
|
static |
Definition at line 178 of file gl-render.cc.
References opengl_texture(), octave_value::array_value(), octave_value::dims(), octave_value::float_array_value(), opengl_functions::glBindTexture(), opengl_functions::glGenTextures(), opengl_functions::glGetError(), opengl_functions::glTexImage2D(), opengl_functions::glTexParameteri(), octave_value::is_double_type(), octave_value::is_single_type(), octave_value::is_uint16_type(), octave_value::is_uint8_type(), dim_vector::ndims(), next_power_of_2(), OCTAVE_LOCAL_BUFFER, octave_value::uint16_array_value(), octave_value::uint8_array_value(), Faddeeva::w(), and warning().
Referenced by opengl_renderer::draw_surface(), and opengl_renderer::draw_texture_image().
|
inline |
Definition at line 166 of file gl-render.cc.
References m_rep.
Referenced by opengl_renderer::draw_texture_image().
|
default |
|
inline |
Definition at line 164 of file gl-render.cc.
Referenced by opengl_renderer::draw_surface(), and opengl_renderer::draw_texture_image().
|
private |
Definition at line 174 of file gl-render.cc.
Referenced by bind(), is_valid(), and tex_coord().