Panda3D
|
This defines the Loader interface to read SpeedTree SRT files, which describe a single tree. More...
#include "loaderFileTypeSrt.h"
Public Member Functions | |
virtual TypeHandle | force_init_type () |
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 | |
virtual const LoaderOptions BamCacheRecord *record | const |
virtual const LoaderOptions & | options |
This defines the Loader interface to read SpeedTree SRT files, which describe a single tree.
It actually returns a SpeedTreeNode with just a single tree within it.
Definition at line 29 of file loaderFileTypeSrt.h.
static void LoaderFileTypeSrt::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 44 of file loaderFileTypeSrt.h.
References LoaderFileType::init_type().
bool LoaderFileTypeSrt::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 58 of file loaderFileTypeSrt.cxx.