public void LoadObject(string objectName) { if (_objectsHandleDictionary.ContainsKey(objectName)) { return; } int objHandle; GL.GenVertexArrays(1, out objHandle); _objectsHandleDictionary.Add(objectName, new RenderObject() { ObjectHandle = objHandle }); GL.BindVertexArray(_objectsHandleDictionary[objectName].ObjectHandle); }