Go to the documentation of this file.
30 std::string LoaderFileTypeSrt::
32 return "SpeedTree compiled tree";
38 std::string LoaderFileTypeSrt::
39 get_extension()
const {
64 if (!tree->is_valid()) {
bool is_regular_file() const
Returns true if the filename exists and is the name of a regular file (i.e.
An instance of this class is written to the front of a Bam or Txo file to make the file a cached inst...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual bool supports_compressed() const
Returns true if this file type can transparently load compressed files (with a .pz or ....
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Specifies parameters that may be passed to the loader.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A basic node of the scene graph or data graph.
Interfaces with the SpeedTree library to render SpeedTree objects, especially trees,...
std::string get_basename() const
Returns the basename part of the filename.
The name of a file, such as a texture file or an Egg file.
Encapsulates a single tree model in the SpeedTree library, as loaded from an SRT file.