joelpedraza
09/27/2017, 2:24 PMinline fun <reified T> store(texelCoord: Vec3i, layer: Int, face: Int, level: Int, texel: T) {
val blockSize = getSize(T::class)
}
Thanks @marstranelect
09/27/2017, 2:25 PMelect
09/27/2017, 2:26 PMstore
will store the texel in the given texture at the given coordinatesmarstran
09/27/2017, 2:27 PMT::class
instead of texel::class
?elect
09/27/2017, 2:27 PMjoelpedraza
09/27/2017, 2:27 PMelect
09/27/2017, 2:27 PMelect
09/27/2017, 2:27 PM