Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | Static Public Attributes

# CRCache Class Reference

List of all members.

## Public Member Functions
def | __init__
def | cache
def | checkCache
def | contains
def | delete
def | flush
def | isEmpty
def | retrieve
def | turnOff
def | turnOn
## Public Attributes
| dict
| fifo
| maxCacheItems
| storedCacheItems
| storedMaxCache
## Static Public Attributes
tuple | notify = DirectNotifyGlobal.directNotify.newCategory("CRCache")

## Constructor & Destructor Documentation

def __init__ | ( |  | self,
|  |  | maxCacheItems = `10`
| ) |  |

## Member Function Documentation

def cache | ( |  | self,
|  |  | distObj
| ) |  |

def checkCache | ( |  | self | ) |

def contains | ( |  | self,
|  |  | doId
| ) |  |

def delete | ( |  | self,
|  |  | doId
| ) |  |

def flush | ( |  | self | ) |

    Delete each item in the cache then clear all references to them

def isEmpty | ( |  | self | ) |

def retrieve | ( |  | self,
|  |  | doId
| ) |  |

def turnOff | ( |  | self | ) |

def turnOn | ( |  | self | ) |

## Member Data Documentation

dict

fifo

maxCacheItems

tuple notify = DirectNotifyGlobal.directNotify.newCategory("CRCache")`[static]`

storedCacheItems

storedMaxCache

All Classes Namespaces Functions Variables Enumerations Enumerator Properties