- reworked canvas texture updater to avoid passing game data to the render backends.
These are now handled one level above using a callback to perform the actual rendering.
This commit is contained in:
parent
44d39ef63e
commit
730d07fbf7
7 changed files with 37 additions and 21 deletions
|
|
@ -16,7 +16,7 @@ class OpenGLFrameBuffer : public SystemGLFrameBuffer
|
|||
{
|
||||
typedef SystemGLFrameBuffer Super;
|
||||
|
||||
void RenderTextureView(FCanvasTexture* tex, AActor* Viewpoint, double FOV);
|
||||
void RenderTextureView(FCanvasTexture* tex, std::function<void(IntRect &)> renderFunc) override;
|
||||
|
||||
public:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue