This is a heavy operation. You should really only create the texture at configure time and resolution switch time. It's also not really anaglyph specific. So the member variable just aught to use some generic name.