diff options
Diffstat (limited to 'src/render/jobs/pickboundingvolumeutils_p.h')
-rw-r--r-- | src/render/jobs/pickboundingvolumeutils_p.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/render/jobs/pickboundingvolumeutils_p.h b/src/render/jobs/pickboundingvolumeutils_p.h index 3078d1a18..bac025dca 100644 --- a/src/render/jobs/pickboundingvolumeutils_p.h +++ b/src/render/jobs/pickboundingvolumeutils_p.h @@ -72,6 +72,7 @@ namespace Render { class Entity; class Renderer; class FrameGraphNode; +class RenderSettings; class NodeManagers; namespace PickingUtils { @@ -86,6 +87,19 @@ struct Q_AUTOTEST_EXPORT ViewportCameraAreaDetails }; QT3D_DECLARE_TYPEINFO_3(Qt3DRender, Render, PickingUtils, ViewportCameraAreaDetails, Q_PRIMITIVE_TYPE) +struct PickConfiguration { + std::vector<ViewportCameraAreaDetails> vcaDetails; + bool trianglePickingRequested = false; + bool edgePickingRequested = false; + bool pointPickingRequested = false; + bool primitivePickingRequested = false; + bool frontFaceRequested = false; + bool backFaceRequested = false; + float pickWorldSpaceTolerance = -1.f; + + PickConfiguration(FrameGraphNode *frameGraphRoot, RenderSettings *renderSettings); +}; + class Q_AUTOTEST_EXPORT ViewportCameraAreaGatherer { public: |