|
VR-Engage
2.2
|
This class stores all the necessary data for rendering Qt Quick content in a specific window, including render controls, window objects, OpenGL contexts, and QML components.
#include <vrePerWindowQtQuickData.h>
Public Member Functions | |
| DtPerWindowQtQuickData () | |
| virtual | ~DtPerWindowQtQuickData () override |
| DtQtQRenderControl * | getRenderControl () |
| void | setRenderControl (DtQtQRenderControl *renderControl) |
| DtQQuickWindow * | getQuickWindow () |
| void | setQuickWindow (DtQQuickWindow *window) |
| QOpenGLContext * | getOpenglContext () |
| void | setOpenglContext (QOpenGLContext *context) |
| QQmlComponent * | getComponent () |
| void | setComponent (QQmlComponent *component) |
| makVrv::DtGlRenderTexture * | getRTTtexture () |
| void | setRTTtexture (makVrv::DtGlRenderTexture *texture) |
| std::string | getWindowName () |
| void | setWindowName (std::string name) |
| void | componentStatusChanged (QQmlComponent::Status status) |
Protected Attributes | |
| DtQtQRenderControl * | myRenderControl |
| DtQQuickWindow * | myQuickWindow |
| QOpenGLContext * | myOpenglContext |
| QQmlComponent * | myComponent |
| makVrv::DtGlRenderTexture * | myRTTtexture |
| std::string | myWindowName |
| makVre::DtPerWindowQtQuickData::DtPerWindowQtQuickData | ( | ) |
Default constructor.
|
overridevirtual |
Destructor.
| DtQtQRenderControl * makVre::DtPerWindowQtQuickData::getRenderControl | ( | ) |
Gets the render control for this window.
| void makVre::DtPerWindowQtQuickData::setRenderControl | ( | DtQtQRenderControl * | renderControl | ) |
Sets the render control for this window.
| renderControl | Pointer to the Qt Quick render control |
| DtQQuickWindow * makVre::DtPerWindowQtQuickData::getQuickWindow | ( | ) |
Gets the Quick window for this context.
| void makVre::DtPerWindowQtQuickData::setQuickWindow | ( | DtQQuickWindow * | window | ) |
Sets the Quick window for this context.
| window | Pointer to the Qt Quick window |
| QOpenGLContext * makVre::DtPerWindowQtQuickData::getOpenglContext | ( | ) |
Gets the OpenGL context for this window.
| void makVre::DtPerWindowQtQuickData::setOpenglContext | ( | QOpenGLContext * | context | ) |
Sets the OpenGL context for this window.
| context | Pointer to the OpenGL context |
| QQmlComponent * makVre::DtPerWindowQtQuickData::getComponent | ( | ) |
Gets the QML component for this window.
| void makVre::DtPerWindowQtQuickData::setComponent | ( | QQmlComponent * | component | ) |
Sets the QML component for this window.
| component | Pointer to the QML component |
| makVrv::DtGlRenderTexture * makVre::DtPerWindowQtQuickData::getRTTtexture | ( | ) |
Gets the render-to-texture target.
| void makVre::DtPerWindowQtQuickData::setRTTtexture | ( | makVrv::DtGlRenderTexture * | texture | ) |
Sets the render-to-texture target.
| texture | Pointer to the OpenGL render texture |
| std::string makVre::DtPerWindowQtQuickData::getWindowName | ( | ) |
Gets the name of the window.
| void makVre::DtPerWindowQtQuickData::setWindowName | ( | std::string | name | ) |
Sets the name of the window.
| name | The window name to set |
| void makVre::DtPerWindowQtQuickData::componentStatusChanged | ( | QQmlComponent::Status | status | ) |
Slot called when the QML component status changes.
| status | The new status of the component |
|
protected |
Qt Quick render control for this window.
|
protected |
Qt Quick window for this context.
|
protected |
OpenGL context for this window.
|
protected |
QML component for this window.
|
protected |
Render-to-texture target.
|
protected |
Name of the window.