As the title suggests, it would be helpful to make the m_pRenderer member variable accessible to derived classes.
I'm currently working on an ImGui docking branch implementation that uses the existing ImGuiImplDiligent class. I could rewrite the whole class and modify it how I like, but my implementation only adds a few functions to make the new features of the docking branch available in any1 Diligent application. A single call to m_pRenderer->RenderDrawData() is the final piece in the puzzle 😃.
I don't want to redundantly rewrite a whole class for one function call 🥲.
1eventually... currently only works with glfw + any backend, OpenGL, Vulkan DirectX etc... (not fully tested, but it getting there!)
As the title suggests, it would be helpful to make the
m_pRenderer
member variable accessible to derived classes.I'm currently working on an ImGui docking branch implementation that uses the existing
ImGuiImplDiligent
class. I could rewrite the whole class and modify it how I like, but my implementation only adds a few functions to make the new features of the docking branch available in any1 Diligent application. A single call tom_pRenderer->RenderDrawData()
is the final piece in the puzzle 😃.I don't want to redundantly rewrite a whole class for one function call 🥲.
1eventually... currently only works with glfw + any backend, OpenGL, Vulkan DirectX etc... (not fully tested, but it getting there!)