diff options
Diffstat (limited to 'src/Runtime/Source/Qt3DSRuntimeRender/GraphObjects/Qt3DSRenderScene.h')
-rw-r--r-- | src/Runtime/Source/Qt3DSRuntimeRender/GraphObjects/Qt3DSRenderScene.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Runtime/Source/Qt3DSRuntimeRender/GraphObjects/Qt3DSRenderScene.h b/src/Runtime/Source/Qt3DSRuntimeRender/GraphObjects/Qt3DSRenderScene.h index 210e49ad..86ef8aa4 100644 --- a/src/Runtime/Source/Qt3DSRuntimeRender/GraphObjects/Qt3DSRenderScene.h +++ b/src/Runtime/Source/Qt3DSRuntimeRender/GraphObjects/Qt3DSRenderScene.h @@ -39,6 +39,7 @@ namespace render { struct SLayer; struct SPresentation; struct SDataInput; + typedef void *SRenderInstanceId; struct SScene : public SGraphObject { @@ -74,11 +75,14 @@ namespace render { inRemapper.Remap(m_FirstDataInput); } // returns true if any of the layers were dirty or if this object was dirty - bool PrepareForRender(const QT3DSVec2 &inViewportDimensions, IQt3DSRenderContext &inContext); + bool PrepareForRender(const QT3DSVec2 &inViewportDimensions, IQt3DSRenderContext &inContext, + const SRenderInstanceId id = nullptr); void Render(const QT3DSVec2 &inViewportDimensions, IQt3DSRenderContext &inContext, - RenderClearCommand command = ClearIsOptional); + RenderClearCommand command = ClearIsOptional, + const SRenderInstanceId id = nullptr); void RenderWithClear(const QT3DSVec2 &inViewportDimensions, IQt3DSRenderContext &inContext, - RenderClearCommand inClearColorBuffer, QT3DSVec3 inclearColor); + RenderClearCommand inClearColorBuffer, + QT3DSVec3 inclearColor, const SRenderInstanceId id = nullptr); }; } } |