littlektframework / littlekt

A multiplatform WebGPU 2D game framework written in Kotlin. Build your own game engine on top.
https://littlekt.com
Apache License 2.0
314 stars 12 forks source link

pool: add builder function to create a Pool instance before allocatin… #139

Closed LeHaine closed 2 years ago

LeHaine commented 2 years ago

…g objects

pool: restructure internal gen and reset functions and constructors to allow setting and allocating objects after pool instantiation