29 std::string LoaderFileTypeStf::
31 return "SpeedTree compiled tree";
37 std::string LoaderFileTypeStf::
38 get_extension()
const {
A basic node of the scene graph or data graph.
Specifies parameters that may be passed to the loader.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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,...
bool is_regular_file() const
Returns true if the filename exists and is the name of a regular file (i.e.
bool add_from_stf(const Filename &stf_filename, const LoaderOptions &options=LoaderOptions())
Opens and reads the named STF (SpeedTree Forest) file, and adds the SRT files named within as instanc...
std::string get_basename() const
Returns the basename part of the filename.
virtual bool supports_compressed() const
Returns true if this file type can transparently load compressed files (with a .pz or ....
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.