I've currently integrated the ImGui Libary into my SFML eviroment and started to draw my own custom Widgets. So far so good it works fine with normal sf::Textures using the getNativeHandle() function but when I Try to get the Handle of a RenderTexture my Widget just contains white Boxes (like when the sf::Texture got lost).
So my question is, is there any difference between accessing the OpenGL handle of a RenderTexture and the Handle of a regular sf::Texture?
Working example wit sf::Texture
draw_list->AddImage((void*)(texture.getNativeHandle()), rect.Min, rect.Max);
Only white boxes when using sf::RenderTexture
draw_list->AddImage((void*)(getRenderTexture().getNativeHandle()), rect.Min, rect.Max);