toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.korge.render
/
AgBufferManager
Ag
Buffer
Manager
class
AgBufferManager
(
val
ag
:
AG
)
Class to handle cached buffers, that are freed after a few frames of not being used
Members
Constructors
Ag
Buffer
Manager
Link copied to clipboard
constructor
(
ag
:
AG
)
Properties
ag
Link copied to clipboard
val
ag
:
AG
empty
Link copied to clipboard
val
empty
:
Buffer
fcount
Link copied to clipboard
var
fcount
:
Int
frames
Between
GC
Link copied to clipboard
var
framesBetweenGC
:
Int
Functions
delete
Link copied to clipboard
fun
delete
(
buffer
:
AgCachedBuffer
)
fun
delete
(
buffer
:
List
<
AgCachedBuffer
>
)
gc
Link copied to clipboard
fun
gc
(
)
get
Buffer
Link copied to clipboard
fun
getBuffer
(
cached
:
AgCachedBuffer
)
:
AGBuffer