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

Classes

class  texture_rep
 

Public Member Functions

 opengl_texture (void)
 
 opengl_texture (const opengl_texture &tx)
 
 ~opengl_texture (void)
 
void bind (int mode=GL_TEXTURE_2D) const
 
bool is_valid (void) const
 
opengl_textureoperator= (const opengl_texture &tx)
 
void tex_coord (double q, double r) const
 

Static Public Member Functions

static opengl_texture create (const octave_value &data)
 

Protected Attributes

texture_reprep
 

Private Member Functions

 opengl_texture (texture_rep *_rep)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ opengl_texture() [1/3]

octave::opengl_texture::opengl_texture ( texture_rep _rep)
inlineprivate

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

◆ opengl_texture() [2/3]

octave::opengl_texture::opengl_texture ( void  )
inline

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

Referenced by create().

◆ opengl_texture() [3/3]

octave::opengl_texture::opengl_texture ( const opengl_texture tx)
inline

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

References octave::opengl_texture::texture_rep::count.

◆ ~opengl_texture()

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

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

References octave::opengl_texture::texture_rep::count.

Member Function Documentation

◆ bind()

void octave::opengl_texture::bind ( int  mode = GL_TEXTURE_2D) const
inline

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

References octave::opengl_texture::texture_rep::bind(), and mode.

◆ create()

◆ is_valid()

bool octave::opengl_texture::is_valid ( void  ) const
inline

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

References octave::opengl_texture::texture_rep::valid.

◆ operator=()

opengl_texture& octave::opengl_texture::operator= ( const opengl_texture tx)
inline

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

References octave::opengl_texture::texture_rep::count, and rep.

◆ tex_coord()

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

Member Data Documentation

◆ rep

texture_rep* octave::opengl_texture::rep
protected

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

Referenced by operator=().


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