Panda3D
Functions
bamCacheRecord.I File Reference

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

Go to the source code of this file.

Functions

 PT (BamCacheRecord) BamCacheRecord
 Returns a duplicate of the BamCacheRecord. More...
 

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
2006-06-09

Definition in file bamCacheRecord.I.

Function Documentation

◆ PT()

PT ( BamCacheRecord  )
inline

Returns a duplicate of the BamCacheRecord.

The duplicate will not have a data pointer set, even though one may have been assigned to the original via set_data(). Returns true if the record matches the other record in those attributes which get written to disk. Does not compare the data pointer. Returns the full pathname to the source file that originally generated this cache request. In some cases, for instance in the case of a of a multipage texture like "cube_#.png", this may not not a true filename on disk. Returns the name of the cache file as hashed from the source_pathname. This will be relative to the root of the cache directory, and it will not include any suffixes that may be appended to resolve hash conflicts. Returns the file timestamp of the original source file that generated this cache record, if available. In some cases the original file timestamp is not available, and this will return 0. Returns the time at which this particular record was recorded or updated. Returns the number of source files that contribute to the cache. Returns the full pathname of the nth source files that contributes to the cache. Returns true if this cache record has an in-memory data object associated– that is, the object stored in the cache. Removes the in-memory data object associated with this record, if any. This does not affect the on-disk representation of the record.

Definition at line 19 of file bamCacheRecord.I.