GNU Octave  6.2.0
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 (const opengl_texture &tx)
 
 opengl_texture (opengl_functions &glfcns)
 
 ~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 (opengl_functions &glfcns, const octave_value &data)
 

Protected Attributes

texture_reprep
 

Private Member Functions

 opengl_texture (texture_rep *_rep)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ opengl_texture() [1/3]

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

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

Referenced by create().

◆ opengl_texture() [2/3]

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

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

◆ opengl_texture() [3/3]

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

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

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

◆ ~opengl_texture()

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

Definition at line 151 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 174 of file gl-render.cc.

References octave::opengl_texture::texture_rep::bind().

◆ create()

◆ is_valid()

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

◆ operator=()

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

Definition at line 157 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 136 of file gl-render.cc.

Referenced by operator=().


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