toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.resources
/
ResourceRef
Resource
Ref
class
ResourceRef
<
T
:
Any
>
(
val
cache
:
ResourceCache
=
ResourceCache.GLOBAL
,
val
gen
:
suspend
Resources
.
(
)
->
T
)
Members
Constructors
Resource
Ref
Link copied to clipboard
constructor
(
cache
:
ResourceCache
=
ResourceCache.GLOBAL
,
gen
:
suspend
Resources
.
(
)
->
T
)
Properties
cache
Link copied to clipboard
val
cache
:
ResourceCache
gen
Link copied to clipboard
val
gen
:
suspend
Resources
.
(
)
->
T
Functions
get
Value
Link copied to clipboard
operator
fun
getValue
(
resourcesContainer
:
ResourcesContainer
,
property
:
KProperty
<
*
>
)
:
Resource
<
T
>