onInit

fun onInit(func: () -> Unit)

Add a callback that will be executed once this resource is about to be initialized by a rendering implementation.

Since

1.7.31