```inline fun <reified T> store(texelCoord: ...
# announcements
j
Copy code
inline fun <reified T> store(texelCoord: Vec3i, layer: Int, face: Int, level: Int, texel: T) {
       val blockSize = getSize(T::class)
}
Thanks @marstran
e
tried all the tricks to get smart compiling in the way, it didn't work
store
will store the texel in the given texture at the given coordinates
m
Could you do
T::class
instead of
texel::class
?
e
wow, that made it, thanks Marius!
j
Ah of course, nice one
e
anyway Joel, that methods is just a common method I'm using to retrieve the size of the given texel