Package-level declarations

Types

Link copied to clipboard
class CachedUniform<T : Any>(define: ClientUniformDefine, writer: Std140Builder.(T) -> Unit) : AutoCloseable

Retains the last uniform slice across frames and uploads a new one only when T changes.

Link copied to clipboard
class DynamicGpuBufferWriter @JvmOverloads constructor(val label: String, val usage: Int, val growPolicy: DynamicGpuBufferWriter.GrowPolicy = GrowPolicy.DEFAULT) : AutoCloseable

Per-frame dynamic com.mojang.blaze3d.buffers.GpuBuffer writer for streaming VBO/IBO uploads.

Link copied to clipboard
Defers closing or recycling of GPU buffers until the GPU has finished using them.
Link copied to clipboard
Small fence-aware pool for reusable static mesh buffers.