mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
added getCount()
This commit is contained in:
parent
8c0f73dfca
commit
cd833ba93b
@ -57,6 +57,10 @@ class CountedResource(object):
|
||||
if cls.RESOURCE_COUNTER < 1:
|
||||
cls.release()
|
||||
|
||||
@classmethod
|
||||
def getCount(cls):
|
||||
return cls.RESOURCE_COUNTER
|
||||
|
||||
@classmethod
|
||||
def acquire(cls):
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user