21#include <osg/Texture2D>
Container for per-window Qt Quick rendering data.
Definition vrePerWindowQtQuickData.h:41
int myFboSamples
Number of samples for framebuffer multisampling.
Definition vreQtQuickFileData.h:144
DtQtQuickFileData()
Default constructor.
virtual osg::Texture2D * getOsgRenderTexture()
Gets the OSG render texture.
virtual DtPerWindowQtQuickData * getRTTdata()
Gets the render-to-texture data.
bool myRTTtarget
Flag indicating if this is a render-to-texture target.
Definition vreQtQuickFileData.h:142
std::string myFileToLoad
Path to the QML file to load.
Definition vreQtQuickFileData.h:157
virtual void setOwner(QObject *owner)
Sets the owner object.
osg::ref_ptr< osg::Texture2D > myOsgTarget
OSG texture for rendering.
Definition vreQtQuickFileData.h:150
virtual void setFboSize(int w, int h)
Sets the framebuffer size.
QObject * myOwner
Owner object for this QML file.
Definition vreQtQuickFileData.h:138
virtual bool getRTTtarget()
Checks if this is a render-to-texture target.
virtual void setTargetWindow(const std::string &windowName)
Sets the target window name for rendering.
virtual int getFboHeight()
Gets the framebuffer height.
virtual void setRTTdata(DtPerWindowQtQuickData *data)
Sets the render-to-texture data.
virtual void setRTTtarget(bool isRTT)
Sets whether this is a render-to-texture target.
virtual int getFboWidth()
Gets the framebuffer width.
std::string myCurrentWarnings
Current warning messages.
Definition vreQtQuickFileData.h:155
virtual QObject * getOwner()
Gets the owner object.
virtual void getFboSize(int &w, int &h)
Gets the framebuffer size.
std::function< void(QQuickItem *)> myDocInitFunction
Document initialization function.
Definition vreQtQuickFileData.h:152
~DtQtQuickFileData()
Destructor.
virtual void setFboSamples(int samples)
Sets the number of framebuffer samples for multisampling.
virtual void setDocInitFunction(const std::function< void(QQuickItem *)> &func)
Sets the document initialization function.
virtual void setFileToLoad(const std::string &filePath)
Sets the path of the QML file to load.
int myFboHeight
Height of the framebuffer in pixels.
Definition vreQtQuickFileData.h:148
virtual int getFboSamples()
Gets the number of framebuffer samples.
virtual void setOsgRenderTexture(osg::Texture2D *texture)
Sets the OSG render texture.
DtPerWindowQtQuickData * myRTTdata
Render-to-texture data for this file.
Definition vreQtQuickFileData.h:136
virtual const std::function< void(QQuickItem *)> & getDocInitFunction()
Gets the document initialization function.
virtual QQuickItem * getRoot()
Gets the root QML item.
int myFboWidth
Width of the framebuffer in pixels.
Definition vreQtQuickFileData.h:146
virtual const std::string & getTargetWindow()
Gets the target window name.
std::string myTargetWindow
Name of the target window.
Definition vreQtQuickFileData.h:159
virtual const std::string & getFileToLoad()
Gets the path of the QML file to load.
virtual void setRoot(QQuickItem *root)
Sets the root QML item.
QQuickItem * myRoot
Root QML item.
Definition vreQtQuickFileData.h:140
Defines export macros for the VREngage Qt Quick Renderer library.
#define QTQUICKRENDERER_DLL
Export/import macro for non-Windows platforms.
Definition export.h:40
Include export definitions for this library.
Definition glsVreMessageUtil.h:49