Panda3D
|
This defines the Loader interface that uses the Assimp library to load various model formats. More...
#include "loaderFileTypeAssimp.h"
Public Member Functions | |
virtual TypeHandle | force_init_type () |
virtual string | get_additional_extensions () const |
Returns a space-separated list of extension, in addition to the one returned by get_extension(), that are recognized by this converter. | |
virtual string | get_extension () const |
virtual string | get_name () const |
virtual TypeHandle | get_type () const |
virtual | PT (PandaNode) load_file(const Filename &path |
virtual bool | supports_compressed () const |
Returns true if this file type can transparently load compressed files (with a .pz extension), false otherwise. | |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. | |
Public Attributes | |
AssimpLoader * | _loader |
virtual const LoaderOptions BamCacheRecord *record | const |
virtual const LoaderOptions & | options |
This defines the Loader interface that uses the Assimp library to load various model formats.
Definition at line 28 of file loaderFileTypeAssimp.h.
string LoaderFileTypeAssimp::get_additional_extensions | ( | ) | const [virtual] |
Returns a space-separated list of extension, in addition to the one returned by get_extension(), that are recognized by this converter.
Reimplemented from LoaderFileType.
Definition at line 70 of file loaderFileTypeAssimp.cxx.
References AssimpLoader::get_extensions().
static void LoaderFileTypeAssimp::init_type | ( | ) | [inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from LoaderFileType.
Definition at line 48 of file loaderFileTypeAssimp.h.
References LoaderFileType::init_type().
bool LoaderFileTypeAssimp::supports_compressed | ( | ) | const [virtual] |
Returns true if this file type can transparently load compressed files (with a .pz extension), false otherwise.
Reimplemented from LoaderFileType.
Definition at line 84 of file loaderFileTypeAssimp.cxx.