Work OpenGL rendering

Need Ptr a interface for array.