Public Member Functions | Private Attributes | List of all members
tango_gl::Texture Class Reference

#include <texture.h>

Public Member Functions

GLuint GetTextureID () const
 
bool LoadFromPNG (const char *file_path)
 
Textureoperator= (const Texture &)=delete
 
 Texture (const char *file_path)
 
 Texture (const Texture &other)=delete
 
 ~Texture ()
 

Private Attributes

int bit_depth_
 
char * byte_data_
 
int color_type_
 
png_uint_32 height_
 
GLuint texture_id_
 
png_uint_32 width_
 

Detailed Description

Definition at line 26 of file texture.h.

Constructor & Destructor Documentation

tango_gl::Texture::Texture ( const char *  file_path)

Definition at line 36 of file texture.cpp.

tango_gl::Texture::Texture ( const Texture other)
delete
tango_gl::Texture::~Texture ( )

Definition at line 100 of file texture.cpp.

Member Function Documentation

GLuint tango_gl::Texture::GetTextureID ( ) const

Definition at line 98 of file texture.cpp.

bool tango_gl::Texture::LoadFromPNG ( const char *  file_path)

Definition at line 42 of file texture.cpp.

Texture& tango_gl::Texture::operator= ( const Texture )
delete

Member Data Documentation

int tango_gl::Texture::bit_depth_
private

Definition at line 38 of file texture.h.

char* tango_gl::Texture::byte_data_
private

Definition at line 39 of file texture.h.

int tango_gl::Texture::color_type_
private

Definition at line 38 of file texture.h.

png_uint_32 tango_gl::Texture::height_
private

Definition at line 37 of file texture.h.

GLuint tango_gl::Texture::texture_id_
private

Definition at line 40 of file texture.h.

png_uint_32 tango_gl::Texture::width_
private

Definition at line 37 of file texture.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:43