|
Panda3D
|
Public Member Functions | |
| __init__ (self, maxCacheItems=10) | |
| cache (self, distObj) | |
| checkCache (self) | |
| contains (self, doId) | |
| delete (self, doId) | |
| flush (self) | |
| isEmpty (self) | |
| retrieve (self, doId) | |
| turnOff (self) | |
| turnOn (self) | |
Public Attributes | |
| dict | dict = {} |
| list | fifo = [] |
| int | maxCacheItems = maxCacheItems |
| storedCacheItems = maxCacheItems | |
| storedMaxCache = self.maxCacheItems | |
Static Public Attributes | |
| notify = DirectNotifyGlobal.directNotify.newCategory("CRCache") | |
| __init__ | ( | self, | |
| maxCacheItems = 10 ) |
| cache | ( | self, | |
| distObj ) |
| checkCache | ( | self | ) |
| contains | ( | self, | |
| doId ) |
| delete | ( | self, | |
| doId ) |
| flush | ( | self | ) |
Delete each item in the cache then clear all references to them
| isEmpty | ( | self | ) |
| retrieve | ( | self, | |
| doId ) |
| turnOff | ( | self | ) |
| turnOn | ( | self | ) |
| dict = {} |
| fifo = [] |
| int maxCacheItems = maxCacheItems |
|
static |
| storedCacheItems = maxCacheItems |
| storedMaxCache = self.maxCacheItems |