Pioneer
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SceneGraph::BinaryConverter Class Reference

#include <BinaryConverter.h>

Inheritance diagram for SceneGraph::BinaryConverter:
Inheritance graph
[legend]
Collaboration diagram for SceneGraph::BinaryConverter:
Collaboration graph
[legend]

Public Member Functions

 BinaryConverter (Graphics::Renderer *)
 
void Save (const std::string &filename, Model *m)
 
void Save (const std::string &filename, const std::string &savepath, Model *m, const bool bInPlace)
 
ModelLoad (const std::string &filename)
 
ModelLoad (const std::string &filename, const std::string &path)
 
ModelLoad (const std::string &filename, RefCountedPtr< FileSystem::FileData > binfile)
 
void RegisterLoader (const std::string &typeName, std::function< Node *(NodeDatabase &)>)
 
- Public Member Functions inherited from SceneGraph::BaseLoader
 BaseLoader (Graphics::Renderer *r)
 
Graphics::RendererGetRenderer () const
 
RefCountedPtr< Text::DistanceFieldFontGetLabel3DFont () const
 
RefCountedPtr< Graphics::MaterialGetDecalMaterial (unsigned int index)
 

Additional Inherited Members

- Protected Member Functions inherited from SceneGraph::BaseLoader
void ConvertMaterialDefinition (const MaterialDefinition &)
 
void FindPatterns (PatternContainer &output)
 
void SetUpPatterns ()
 
- Protected Attributes inherited from SceneGraph::BaseLoader
Graphics::Rendererm_renderer
 
Modelm_model
 
std::string m_curPath
 
RefCountedPtr< Text::DistanceFieldFontm_labelFont
 

Constructor & Destructor Documentation

◆ BinaryConverter()

BinaryConverter::BinaryConverter ( Graphics::Renderer r)
Here is the call graph for this function:

Member Function Documentation

◆ Load() [1/3]

Model * BinaryConverter::Load ( const std::string &  filename)
Here is the call graph for this function:

◆ Load() [2/3]

Model * BinaryConverter::Load ( const std::string &  filename,
const std::string &  path 
)
Here is the call graph for this function:

◆ Load() [3/3]

Model * BinaryConverter::Load ( const std::string &  filename,
RefCountedPtr< FileSystem::FileData binfile 
)
Here is the call graph for this function:

◆ RegisterLoader()

void BinaryConverter::RegisterLoader ( const std::string &  typeName,
std::function< Node *(NodeDatabase &)>  func 
)

◆ Save() [1/2]

void BinaryConverter::Save ( const std::string &  filename,
const std::string &  savepath,
Model m,
const bool  bInPlace 
)
Here is the call graph for this function:

◆ Save() [2/2]

void BinaryConverter::Save ( const std::string &  filename,
Model m 
)
Here is the call graph for this function:

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