def addCategory(self,name):
self.categories[name]={}<EOL>self.categoriesTexCache[name]={}<EOL>self.categoriesTexBin[name]=pyglet.image.atlas.TextureBin(self.texsize,self.texsize)<EOL>self.peng.sendEvent("<STR_LIT>",{"<STR_LIT>":self.peng,"<STR_LIT>":name})<EOL>
Adds a new texture category with the given name.

If the category already exists, it will be overridden.