+uint vogleditor_QTextureExplorer::set_texture_objects(vogl::vector<vogl_context_snapshot*> sharingContexts)
+{
+ clear();
+
+ uint textureCount = 0;
+
+ for (uint c = 0; c < sharingContexts.size(); c++)
+ {
+ vogl_gl_object_state_ptr_vec textureObjects;
+ sharingContexts[c]->get_all_objects_of_category(cGLSTTexture, textureObjects);
+
+ textureCount += add_texture_objects(textureObjects);
+ }
+
+ return textureCount;
+}
+
+uint vogleditor_QTextureExplorer::set_renderbuffer_objects(vogl::vector<vogl_context_snapshot*> sharingContexts)
+{
+ clear();
+
+ uint textureCount = 0;
+
+ for (uint c = 0; c < sharingContexts.size(); c++)
+ {
+ vogl_gl_object_state_ptr_vec renderbufferObjects;
+ sharingContexts[c]->get_all_objects_of_category(cGLSTRenderbuffer, renderbufferObjects);
+
+ textureCount += add_texture_objects(renderbufferObjects);
+ }
+
+ return textureCount;
+}
+
+uint vogleditor_QTextureExplorer::set_texture_objects(vogl_gl_object_state_ptr_vec textureObjects)