GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::opengl_texture::texture_rep Class Reference
Collaboration diagram for octave::opengl_texture::texture_rep:

Public Member Functions

 texture_rep (opengl_functions &glfcns)
 
 texture_rep (opengl_functions &glfcns, GLuint id_arg, int w_arg, int h_arg, int tw_arg, int th_arg)
 
 ~texture_rep (void)
 
void bind (int mode) const
 
void tex_coord (double q, double r) const
 

Public Attributes

refcount< octave_idx_typecount
 
int h
 
GLuint id
 
opengl_functionsm_glfcns
 
int th
 
int tw
 
double tx
 
double ty
 
bool valid
 
int w
 

Detailed Description

Definition at line 100 of file gl-render.cc.

Constructor & Destructor Documentation

◆ texture_rep() [1/2]

octave::opengl_texture::texture_rep::texture_rep ( opengl_functions glfcns)
inline

Definition at line 103 of file gl-render.cc.

◆ texture_rep() [2/2]

octave::opengl_texture::texture_rep::texture_rep ( opengl_functions glfcns,
GLuint  id_arg,
int  w_arg,
int  h_arg,
int  tw_arg,
int  th_arg 
)
inline

Definition at line 108 of file gl-render.cc.

◆ ~texture_rep()

octave::opengl_texture::texture_rep::~texture_rep ( void  )
inline

Definition at line 115 of file gl-render.cc.

Member Function Documentation

◆ bind()

void octave::opengl_texture::texture_rep::bind ( int  mode) const
inline

Definition at line 121 of file gl-render.cc.

Referenced by octave::opengl_texture::bind().

◆ tex_coord()

void octave::opengl_texture::texture_rep::tex_coord ( double  q,
double  r 
) const
inline

Definition at line 124 of file gl-render.cc.

References r.

Referenced by octave::opengl_texture::tex_coord().

Member Data Documentation

◆ count

◆ h

int octave::opengl_texture::texture_rep::h

Definition at line 129 of file gl-render.cc.

◆ id

GLuint octave::opengl_texture::texture_rep::id

Definition at line 128 of file gl-render.cc.

◆ m_glfcns

opengl_functions& octave::opengl_texture::texture_rep::m_glfcns

Definition at line 127 of file gl-render.cc.

◆ th

int octave::opengl_texture::texture_rep::th

Definition at line 130 of file gl-render.cc.

◆ tw

int octave::opengl_texture::texture_rep::tw

Definition at line 130 of file gl-render.cc.

◆ tx

double octave::opengl_texture::texture_rep::tx

Definition at line 131 of file gl-render.cc.

◆ ty

double octave::opengl_texture::texture_rep::ty

Definition at line 131 of file gl-render.cc.

◆ valid

bool octave::opengl_texture::texture_rep::valid

Definition at line 132 of file gl-render.cc.

Referenced by octave::opengl_texture::is_valid().

◆ w

int octave::opengl_texture::texture_rep::w

Definition at line 129 of file gl-render.cc.


The documentation for this class was generated from the following file: