In openglgame, port over some more of the pipeline creation code and the functionality to specify and initialize varying attributes