Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
Texture Class Reference

#include <texture.h>

Collaboration diagram for Texture:
Collaboration graph

Public Member Functions

 Texture (void)
 
 ~Texture ()
 
bool isSizeChanged (void) const
 
bool isDirty (void) const
 
void removeDirty (void)
 
void setDirty (void)
 
void setSizeChanged (void)
 
GLsizei width (void) const
 
GLsizei height (void) const
 
GLenum texture_format (void) const
 
GLsizei data_size (void) const
 
bool UpdateData (const QImage &img)
 
bool UpdateData (const std::shared_ptr< const apollo::drivers::Image > &)
 
const GLubyte * data (void) const
 

Constructor & Destructor Documentation

◆ Texture()

Texture::Texture ( void  )

◆ ~Texture()

Texture::~Texture ( )
inline

Member Function Documentation

◆ data()

const GLubyte* Texture::data ( void  ) const
inline

◆ data_size()

GLsizei Texture::data_size ( void  ) const
inline

◆ height()

GLsizei Texture::height ( void  ) const
inline

◆ isDirty()

bool Texture::isDirty ( void  ) const
inline

◆ isSizeChanged()

bool Texture::isSizeChanged ( void  ) const
inline

◆ removeDirty()

void Texture::removeDirty ( void  )
inline

◆ setDirty()

void Texture::setDirty ( void  )
inline

◆ setSizeChanged()

void Texture::setSizeChanged ( void  )
inline

◆ texture_format()

GLenum Texture::texture_format ( void  ) const
inline

◆ UpdateData() [1/2]

bool Texture::UpdateData ( const QImage &  img)

◆ UpdateData() [2/2]

bool Texture::UpdateData ( const std::shared_ptr< const apollo::drivers::Image > &  )

◆ width()

GLsizei Texture::width ( void  ) const
inline

Member Data Documentation

◆ __pad0__

int Texture::__pad0__

◆ is_dirty_

bool Texture::is_dirty_

◆ is_size_changed_

bool Texture::is_size_changed_

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