reload

open override 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