I don't have any `values()` available here? ```enu...
# announcements
e
I don't have any
values()
available here?
Copy code
enum class EGraphicsAPIConvention(@get:JvmName("i") val i: Int) {
    API_DirectX(0), // Normalized Z goes from 0 at the viewer to 1 at the far clip plane
    API_OpenGL(1)   // Normalized Z goes from 1 at the viewer to -1 at the far clip plane
}
fun EGraphicsAPIConvention.of(i: Int) = values().first { it.i == i }