mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -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:
|
if cls.RESOURCE_COUNTER < 1:
|
||||||
cls.release()
|
cls.release()
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def getCount(cls):
|
||||||
|
return cls.RESOURCE_COUNTER
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def acquire(cls):
|
def acquire(cls):
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user