g4tools  5.4.0
Public Member Functions | List of all members
tools::sg::render_manager Class Referenceabstract
Inheritance diagram for tools::sg::render_manager:
Inheritance graph
[legend]

Public Member Functions

virtual void * cast (const std::string &) const =0
 
virtual bool begin_render (int, int, unsigned int, unsigned int, float, float, float, float, bool a_clear=true)=0
 
virtual void end_render ()=0
 
virtual unsigned int create_texture (const img_byte &, bool)=0
 
virtual unsigned int create_gsto_from_data (size_t, const float *)=0
 
virtual bool is_gsto_id_valid (unsigned int) const =0
 
virtual void delete_gsto (unsigned int)=0
 
virtual gsto_mode get_gsto_mode () const =0
 
virtual void set_gsto_mode (gsto_mode)=0
 
virtual void available_gsto_modes (std::vector< std::string > &)=0
 
virtual void available_not_memory_gsto_mode (std::string &) const =0
 
virtual size_t used_texture_memory () const =0
 
virtual size_t gstos_size () const =0
 
virtual ~render_manager ()
 
unsigned int create_gsto_from_data (const std::vector< float > &a_xyzs)
 

Detailed Description

Definition at line 16 of file render_manager.

Constructor & Destructor Documentation

◆ ~render_manager()

virtual tools::sg::render_manager::~render_manager ( )
inlinevirtual

Definition at line 39 of file render_manager.

39 {}

Member Function Documentation

◆ available_gsto_modes()

virtual void tools::sg::render_manager::available_gsto_modes ( std::vector< std::string > &  )
pure virtual

◆ available_not_memory_gsto_mode()

virtual void tools::sg::render_manager::available_not_memory_gsto_mode ( std::string &  ) const
pure virtual

◆ begin_render()

virtual bool tools::sg::render_manager::begin_render ( int  ,
int  ,
unsigned int  ,
unsigned int  ,
float  ,
float  ,
float  ,
float  ,
bool  a_clear = true 
)
pure virtual

◆ cast()

virtual void* tools::sg::render_manager::cast ( const std::string &  ) const
pure virtual

◆ create_gsto_from_data() [1/2]

unsigned int tools::sg::render_manager::create_gsto_from_data ( const std::vector< float > &  a_xyzs)
inline

Definition at line 41 of file render_manager.

41  {
42  const float* _xyzs = vec_data<float>(a_xyzs);
43  return create_gsto_from_data(a_xyzs.size(),_xyzs);
44  }

◆ create_gsto_from_data() [2/2]

virtual unsigned int tools::sg::render_manager::create_gsto_from_data ( size_t  ,
const float *   
)
pure virtual

◆ create_texture()

virtual unsigned int tools::sg::render_manager::create_texture ( const img_byte ,
bool   
)
pure virtual

◆ delete_gsto()

virtual void tools::sg::render_manager::delete_gsto ( unsigned int  )
pure virtual

◆ end_render()

virtual void tools::sg::render_manager::end_render ( )
pure virtual

◆ get_gsto_mode()

virtual gsto_mode tools::sg::render_manager::get_gsto_mode ( ) const
pure virtual

◆ gstos_size()

virtual size_t tools::sg::render_manager::gstos_size ( ) const
pure virtual

◆ is_gsto_id_valid()

virtual bool tools::sg::render_manager::is_gsto_id_valid ( unsigned int  ) const
pure virtual

◆ set_gsto_mode()

virtual void tools::sg::render_manager::set_gsto_mode ( gsto_mode  )
pure virtual

◆ used_texture_memory()

virtual size_t tools::sg::render_manager::used_texture_memory ( ) const
pure virtual

The documentation for this class was generated from the following file:
tools::sg::render_manager::create_gsto_from_data
virtual unsigned int create_gsto_from_data(size_t, const float *)=0