36 #ifndef DISP3DLIB_CUSTOMFRAMEGRAPH_H
37 #define DISP3DLIB_CUSTOMFRAMEGRAPH_H
43 #include "../../disp3D_global.h"
49 #include <QSharedPointer>
51 #include <Qt3DRender/QViewport>
61 namespace Qt3DRender {
62 class QRenderSurfaceSelector;
65 class QDispatchCompute;
66 class QTechniqueFilter;
67 class QCameraSelector;
73 class QRenderStateSet;
76 class QBlendEquationArguments;
80 class QRenderCaptureReply;
105 typedef QSharedPointer<CustomFrameGraph>
SPtr;
106 typedef QSharedPointer<const CustomFrameGraph>
ConstSPtr;
128 void setCamera(Qt3DRender::QCamera *tCamera);
138 void setWorkGroupSize(
const uint tX,
const uint tY ,
const uint tZ);
146 void setClearColor(
const QColor &tColor);
154 Qt3DRender::QRenderCaptureReply* requestRenderCaptureReply();
166 QPointer<Qt3DRender::QRenderSurfaceSelector> m_pSurfaceSelector;
168 QPointer<Qt3DRender::QClearBuffers> m_pClearBuffers;
170 QPointer<Qt3DRender::QNoDraw> m_pNoDraw;
172 QPointer<Qt3DRender::QDispatchCompute> m_pDispatchCompute;
174 QPointer<Qt3DRender::QTechniqueFilter> m_pComputeFilter;
176 QPointer<Qt3DRender::QCameraSelector> m_pCameraSelector;
178 QPointer<Qt3DRender::QMemoryBarrier> m_pMemoryBarrier;
180 QPointer<Qt3DRender::QRenderStateSet> m_pForwardState;
182 QPointer<Qt3DRender::QTechniqueFilter> m_pForwardTranspFilter;
184 QPointer<Qt3DRender::QRenderStateSet> m_pTransparentState;
186 QPointer<Qt3DRender::QTechniqueFilter> m_pForwardFilter;
188 QPointer<Qt3DRender::QTechniqueFilter> m_pForwardSortedFilter;
190 QPointer<Qt3DRender::QSortPolicy> m_pSortPolicy;
192 QPointer<Qt3DRender::QFilterKey> m_pForwardTranspKey;
194 QPointer<Qt3DRender::QFilterKey> m_pForwardKey;
196 QPointer<Qt3DRender::QFilterKey> m_pForwardSortedKey;
198 QPointer<Qt3DRender::QFilterKey> m_pComputeKey;
200 QPointer<Qt3DRender::QDepthTest> m_pDepthTest;
202 QPointer<Qt3DRender::QCullFace> m_pCullFace;
204 QPointer<Qt3DRender::QBlendEquation> m_pBlendEquation;
206 QPointer<Qt3DRender::QBlendEquationArguments> m_pBlendArguments;
208 QPointer<Qt3DRender::QNoDepthMask> m_pNoDepthMask;
210 QPointer<Qt3DRender::QRenderCapture> m_pCapture;
212 bool m_bUseOpenGl4_3;
220 #endif // DISP3DLIB_CUSTOMFRAMEGRAPH_H