GNU Octave  4.4.1
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 (void)
 
 texture_rep (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< int > count
 
int h
 
GLuint id
 
int th
 
int tw
 
double tx
 
double ty
 
bool valid
 
int w
 

Detailed Description

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

Constructor & Destructor Documentation

◆ texture_rep() [1/2]

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

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

◆ texture_rep() [2/2]

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

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

◆ ~texture_rep()

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

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

Member Function Documentation

◆ bind()

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

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

References mode.

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 118 of file gl-render.cc.

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

Member Data Documentation

◆ count

refcount<int> octave::opengl_texture::texture_rep::count

◆ h

int octave::opengl_texture::texture_rep::h

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

◆ id

GLuint octave::opengl_texture::texture_rep::id

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

◆ th

int octave::opengl_texture::texture_rep::th

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

◆ tw

int octave::opengl_texture::texture_rep::tw

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

◆ tx

double octave::opengl_texture::texture_rep::tx

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

◆ ty

double octave::opengl_texture::texture_rep::ty

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

◆ valid

bool octave::opengl_texture::texture_rep::valid

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

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

◆ w

int octave::opengl_texture::texture_rep::w

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


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