Panda3D

Loading...
Searching...
No Matches
Functions
eggMultiBase.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

`#include "eggMultiBase.h"`
`#include "eggBase.h"`
`#include "eggData.h"`
`#include "eggComment.h"`
`#include "filename.h"`
`#include "dSearchPath.h"`

Go to the source code of this file.

## Functions
| PT (EggData) EggMultiBase
| Allocates and returns a new EggData structure that represents the indicated egg file.

## Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
  drose

Date
  2000-11-02

Definition in file eggMultiBase.cxx.

## Function Documentation

## ◆ PT()

PT | ( | EggData |  | ) |

Allocates and returns a new EggData structure that represents the indicated egg file.

If the egg file cannot be read for some reason, returns NULL.

This can be overridden by derived classes to control how the egg files are read, or to extend the information stored with each egg structure, by deriving from EggData.

Definition at line 145 of file eggMultiBase.cxx.

References DSearchPath::append_directory(), EggBase::convert_paths(), Filename::get_basename(), and Filename::get_dirname().