16 #ifndef QGSABSTRACT3DENGINE_H
17 #define QGSABSTRACT3DENGINE_H
22 #include <QElapsedTimer>
37 class QRenderSettings;
39 class QFrameGraphNode;
71 virtual void setClearColor(
const QColor &color ) = 0;
73 virtual void setFrustumCullingEnabled(
bool enabled ) = 0;
75 virtual void setRootEntity( Qt3DCore::QEntity *root ) = 0;
78 virtual Qt3DRender::QRenderSettings *renderSettings() = 0;
80 virtual Qt3DRender::QCamera *camera() = 0;
82 virtual QSize size()
const = 0;
84 virtual void setSize( QSize s ) = 0;
91 void requestDepthBufferCapture();
98 void requestCaptureImage();
105 virtual QSurface *surface()
const = 0;
121 void setRenderCaptureEnabled(
bool enabled );
127 bool renderCaptureEnabled()
const;
130 void imageCaptured(
const QImage &image );
137 void depthBufferCaptured(
const QImage &image );
143 #endif // QGSABSTRACT3DENGINE_H