Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
CRCache Class Reference

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
 
 fifo
 
 maxCacheItems
 
 storedCacheItems
 
 storedMaxCache
 

Static Public Attributes

 notify = DirectNotifyGlobal.directNotify.newCategory("CRCache")
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
maxCacheItems = 10 )

Member Function Documentation

◆ cache()

cache ( self,
distObj )

◆ checkCache()

checkCache ( self)

◆ contains()

contains ( self,
doId )

◆ delete()

delete ( self,
doId )

◆ flush()

flush ( self)
Delete each item in the cache then clear all references to them

◆ isEmpty()

isEmpty ( self)

◆ retrieve()

retrieve ( self,
doId )

◆ turnOff()

turnOff ( self)

◆ turnOn()

turnOn ( self)

Member Data Documentation

◆ dict

dict

◆ fifo

fifo

◆ maxCacheItems

maxCacheItems

◆ notify

notify = DirectNotifyGlobal.directNotify.newCategory("CRCache")
static

◆ storedCacheItems

storedCacheItems

◆ storedMaxCache

storedMaxCache