15 #include "loaderFileTypeSrt.h"
16 #include "speedTreeNode.h"
35 string LoaderFileTypeSrt::
37 return "SpeedTree compiled tree";
45 string LoaderFileTypeSrt::
46 get_extension()
const {
70 if (!path.is_regular_file()) {
77 if (!tree->is_valid()) {
A basic node of the scene graph or data graph.
Specifies parameters that may be passed to the loader.
The name of a file, such as a texture file or an Egg file.
An instance of this class is written to the front of a Bam or Txo file to make the file a cached inst...
Interfaces with the SpeedTree library to render SpeedTree objects, especially trees, within the Panda3D scene graph.
TypeHandle is the identifier used to differentiate C++ class types.
This defines the Loader interface to read SpeedTree SRT files, which describe a single tree...
Encapsulates a single tree model in the SpeedTree library, as loaded from an SRT file.
virtual bool supports_compressed() const
Returns true if this file type can transparently load compressed files (with a .pz extension)...