More C++-ish shader loader.