onInit

fun onInit(func: () -> Unit)

Add a callback that will be executed once this resource has been successfully initialized by a rendering implementation.

Since

1.7.31