Hello.
Is it possible to init an
sf::Texture with a GL texture? I have an advanced OpenGL project and want to add a simple menu over a transparent black rectangle using SFML (mostly because the text rendering functionality spares me a lot of work), so I need to render to texture in my final rendering pass and make an
sf::RectangleShape which uses part of that texture for the effect of
drawing over it transparently. However, all functions on
sf::Texture want to load from file, stream or memory, instead of taking a ready GL texture name/handle.
Is there a way to achieve what I want? Thanks!