X-Git-Url: https://git.cworth.org/git?p=vogl;a=blobdiff_plain;f=src%2Fvogleditor%2Fvogleditor_qtextureexplorer.h;fp=src%2Fvogleditor%2Fvogleditor_qtextureexplorer.h;h=f9a26472dfaf673284d52ae0c5a5ade1e793f2d3;hp=617871aa2b1d027349ae1d6cd44e311fe1de4976;hb=6946d5fddddd5f94c405614cef8f39c627d89146;hpb=96da0248021a617555bfcfa419eb385485379239 diff --git a/src/vogleditor/vogleditor_qtextureexplorer.h b/src/vogleditor/vogleditor_qtextureexplorer.h index 617871a..f9a2647 100644 --- a/src/vogleditor/vogleditor_qtextureexplorer.h +++ b/src/vogleditor/vogleditor_qtextureexplorer.h @@ -7,6 +7,7 @@ #include "vogleditor_qtextureviewer.h" class vogl_gl_object_state; +class vogl_context_snapshot; typedef vogl::vector vogl_gl_object_state_ptr_vec; class vogl_texture_state; @@ -23,8 +24,10 @@ public: explicit vogleditor_QTextureExplorer(QWidget *parent = 0); ~vogleditor_QTextureExplorer(); - void set_texture_objects(vogl_gl_object_state_ptr_vec objects); - void add_texture_object(vogl_texture_state& textureState, vogl::dynamic_string bufferType); + uint set_texture_objects(vogl::vector sharingContexts); + uint set_renderbuffer_objects(vogl::vector sharingContexts); + uint set_texture_objects(vogl_gl_object_state_ptr_vec objects); + uint add_texture_object(vogl_texture_state& textureState, vogl::dynamic_string bufferType); bool set_active_texture(unsigned long long textureHandle); @@ -39,6 +42,8 @@ private: vogl_gl_object_state_ptr_vec m_objects; QTextureViewer m_textureViewer; + uint add_texture_objects(vogl_gl_object_state_ptr_vec objects); + private slots: void selectedTextureIndexChanged(int index); void channelSelectionChanged(int index);