elect
09/27/2017, 2:18 PMfun getSize(clazz: KClass<*>): Int
inline fun <reified T> store(texelCoord: Vec3i, layer: Int, face: Int, level: Int, texel: T) {
val blockSize = getSize(texel::class)
}
on texel
I get:
Expression in a class literal has a nullable type 'T', use !! to make the type non-nullabble