Rendering view to texture storage interface.
More...
#include <AUI/Render/IRenderViewToTexture.h>
|
static void | enableForView (IRenderer &renderer, AView &view) |
|
static void | disableForView (AView &view) |
|
static bool | isEnabledForView (AView &view) |
|
◆ begin()#
- Parameters
-
renderer | renderer to draw with. IRenderViewToTexture is expected to be associated with the renderer it's created with and normally this parameter is used to assert check the used renderer is the same. |
surfaceSize | framebuffer size. Adjusts this value to achieve supersampling. Resizes the surface if mismatched with surfaceSize. |
invalidArea | invalid areas to update. Should not be empty. Can be changed to InvalidArea::Full{} by implementation and caller is expected to react accordingly. |
- Returns
- true on success, false otherwise
If needed, implementation may adjust renderer's transform matrix.
◆ draw()#
virtual void IRenderViewToTexture::draw |
( |
IRenderer & | renderer | ) |
|
|
pure virtual |
- Parameters
-
renderer | renderer to draw with. IRenderViewToTexture is expected to be associated with the renderer it's created with and normally this parameter is used to assert check the used renderer is the same. |
◆ end()#
virtual void IRenderViewToTexture::end |
( |
IRenderer & | renderer | ) |
|
|
pure virtual |
- Parameters
-
renderer | renderer to draw with. IRenderViewToTexture is expected to be associated with the renderer it's created with and normally this parameter is used to assert check the used renderer is the same. |
The caller is obligated to recover renderer's state prior to begin method call.