diff options
Diffstat (limited to 'src/runtimerender/rendererimpl/Qt3DSRendererImpl.h')
-rw-r--r-- | src/runtimerender/rendererimpl/Qt3DSRendererImpl.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/runtimerender/rendererimpl/Qt3DSRendererImpl.h b/src/runtimerender/rendererimpl/Qt3DSRendererImpl.h index 792d71e..2230733 100644 --- a/src/runtimerender/rendererimpl/Qt3DSRendererImpl.h +++ b/src/runtimerender/rendererimpl/Qt3DSRendererImpl.h @@ -296,6 +296,7 @@ namespace render { bool m_PickRenderPlugins; bool m_LayerCachingEnabled; bool m_LayerGPuProfilingEnabled; + void *m_SignalProxy; SShaderDefaultMaterialKeyProperties m_DefaultMaterialShaderKeyProperties; QHash<SLayer *, SLayerRenderData *> m_initialPrepareData; @@ -305,6 +306,7 @@ namespace render { float m_alphaOp = 1.0f; float m_alphaRef = 1.0f; + public: Qt3DSRendererImpl(IQt3DSRenderContext &ctx); virtual ~Qt3DSRendererImpl(); @@ -342,8 +344,8 @@ namespace render { // Calls prepare layer for render // and then do render layer. - bool PrepareLayerForRender(SLayer &inLayer, const QT3DSVec2 &inViewportDimensions, - bool inRenderSiblings, const SRenderInstanceId id) override; + bool PrepareLayerForRender(SLayer &inLayer, bool inRenderSiblings, + const SRenderInstanceId id) override; void RenderLayer(SLayer &inLayer, const QT3DSVec2 &inViewportDimensions, bool clear, QT3DSVec4 clearColor, bool inRenderSiblings, const SRenderInstanceId id) override; @@ -386,7 +388,11 @@ namespace render { const QT3DSVec3 &inMouseVec) const override; QT3DSVec3 ProjectPosition(SNode &inNode, const QT3DSVec3 &inPosition) const override; - uint getLayerTextureId(SLayer &layer) override; + uint getLayerTextureId(SLayer &layer, const SRenderInstanceId id) override; + + STextureDetails getLayerTextureDetails(SLayer &inLayer, const SRenderInstanceId id) override; + + GLenum getTextureGlFormat(NVRenderTextureFormats::Enum internalFormat) override; Option<SLayerPickSetup> GetLayerPickSetup(SLayer &inLayer, const QT3DSVec2 &inMouseCoords, @@ -566,7 +572,6 @@ namespace render { Option<QT3DSVec2> GetLayerMouseCoords(SLayer &inLayer, const QT3DSVec2 &inMouseCoords, const QT3DSVec2 &inViewportDimensions, bool forceImageIntersect = false) const override; - protected: Option<QT3DSVec2> GetLayerMouseCoords(SLayerRenderData &inLayer, const QT3DSVec2 &inMouseCoords, const QT3DSVec2 &inViewportDimensions, |