It’s finally time for me to upgrade from GLSL to Slang. All because glsl structs can’t have member functions.