reload

abstract fun reload(taskExecutor: Executor = Util.backgroundExecutor(), reloadExecutor: Executor = mc): CompletableFuture<Void>

Reloads this listener asynchronously.

Parameters

taskExecutor

executor for CPU/GPU preparation work (shader compile, ...)

reloadExecutor

executor for the final apply step that touches render-thread state


open override fun reload(currentReload: PreparableReloadListener.SharedState, taskExecutor: Executor, preparationBarrier: PreparableReloadListener.PreparationBarrier, reloadExecutor: Executor): CompletableFuture<Void>