UNPKG
@animech-public/playcanvas
Version:
latest (1.78.0-animech)
new-parser (1.30.0-rc.1)
next (1.35.0-rc.4)
1.78.0-animech
1.77.0-animech
1.36.1-rc.1
1.36.0-rc.4
1.36.0-rc.3
1.36.0-rc.2
1.36.0-rc.1
1.36.0-rc.0
1.35.0-rc.4
1.35.0-rc.3
1.35.0-rc.2
1.35.0-rc.1
1.35.0-rc.0
1.33.0-rc.11
1.33.0-rc.10
1.33.0-rc.9
1.33.0-rc.8
1.33.0-rc.7
1.33.0-rc.6
1.33.0-rc.5
1.33.0-rc.4
1.33.0-rc.3
1.33.0-rc.2
1.33.0-rc.1
1.33.0-rc.0
1.33.0-dev.4
1.33.0-dev.3
1.33.0-dev.2
1.30.0-rc.10
1.30.0-rc.9
1.30.0-rc.8
1.30.0-rc.7
1.30.0-rc.6
1.30.0-rc.5
1.30.0-rc.4
1.30.0-rc.3
1.30.0-rc.2
1.30.0-rc.1
1.30.0-rc.0
1.28.2
1.28.0-rc.6
1.28.0-rc.5
1.28.0-rc.4
1.28.0-rc.3
1.28.0-rc.2
1.28.0-rc.1
1.28.0-rc.0
1.28.0-dev
0.0.1
PlayCanvas WebGL game engine
playcanvas.com
AnimechTechnologies/playcanvas-engine
@animech-public/playcanvas
/
build
/
playcanvas
/
src
/
scene
/
graphics
/
lightmap-cache.js
2 lines
(1 loc)
•
231 B
JavaScript
View Raw
1
2
import
{
RefCountedCache
as
c}
from
"../../core/ref-counted-cache.js"
;
class
e
{
static
incRef
(
c
){
this
.
cache
.
incRef
(c)}
static
decRef
(
c
){
this
.
cache
.
decRef
(c)}
static
destroy
(
){
this
.
cache
.
destroy
()}}e.
cache
=
new
c;
export
{e
as
LightmapCache
};