Of course that doesn't work. ref must refer to an lvalue, so it can't convert anything. The type must match exactly save for constness. So float[] can't be passed to a function taking ref void[]. Either you need to convert to assign the float[] to a void[] variable first, or you need the function to take ref float[].- Jonathan M Davis
Thanks! I guess then I'll stick with the template :)
