A RenderTarget is a texture which we can draw things into.
This class represents two kind of them:
Main Render Target
Texture Render Target
For both it provides the projection matrix (+camera) and other information
required to be used by high level code (like the targets size in pixel).
(1) always exists and is defined by the browser.
(2) is created by high level code and surfes as a RenderToTexture manager.
We can render stuff into it and then use the attached texture to render
that stuff into another RT.
A RenderTarget is a texture which we can draw things into.
This class represents two kind of them:
For both it provides the projection matrix (+camera) and other information required to be used by high level code (like the targets size in pixel).
(1) always exists and is defined by the browser.
(2) is created by high level code and surfes as a RenderToTexture manager. We can render stuff into it and then use the attached texture to render that stuff into another RT.