wrapRuntimeShaderConstruction

inline fun <T> wrapRuntimeShaderConstruction(block: () -> T): T

Runs native runtime-shader construction in block, reporting a RuntimeException as a RuntimeShaderRenderEffectException that callers can recover from. A RuntimeShaderRenderEffectException is rethrown unchanged, and errors are not caught.