persistent

fun <T> persistent(builder: () -> T): T(source)

Mark a GPU resource or code that uses GPU resources as persistent