Activate or deactivate the render-texture for rendering.
This function makes the render-texture's context current for future
OpenGL rendering operations (so you shouldn't care about it if you're not
doing direct OpenGL stuff).
Only one context can be current in a thread, so if you want to draw
OpenGL geometry to another render target (like a $(RENDERWINDOW_LINK))
don't forget to activate it again.
Activate or deactivate the render-texture for rendering.
This function makes the render-texture's context current for future OpenGL rendering operations (so you shouldn't care about it if you're not doing direct OpenGL stuff).
Only one context can be current in a thread, so if you want to draw OpenGL geometry to another render target (like a $(RENDERWINDOW_LINK)) don't forget to activate it again.