41#if defined(Q_OS_LINUX) && !defined(Q_OS_ANDROID)
42#include <QVulkanWindow>
51 class BasicResourceListener;
52 class QTResourceListener;
61 friend class RenderThread;
108#if NDEVR_SUPPORTS_THREADING
114 QBackingStore* m_backing_store =
nullptr;
122 bool m_instance_valid =
false;
127 class GlobalGraphicsWidgetEventFilter;
150#if !NDEVR_SPECIAL_GRAPHICS_WINDOW
QWindow GraphicsWindowBase
Definition QtGraphicsWindow.h:45
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Definition Pointer.hpp:320
Options that are used for performing an update on a Graphics Engine call.
Definition GraphicsUpdateArguments.h:43
A Window used to render 3D graphics. This container allows for a different graphics backend to be use...
Definition QtGraphicsWindow.h:58
bool m_animating
Definition QtGraphicsWindow.h:117
QTGraphicsWindow(const DynamicPointer< GraphicsDevice > &device, QWindow *parent, Qt::WindowFlags flags)
bool m_initiation_failure
Definition QtGraphicsWindow.h:120
void onSelectionChanged(Buffer< UUID > selection, bool selected)
void contextMenu(const QPoint &pos)
virtual void setModelManager(QTModelManager *manager, bool auto_add_models)
void setExposed(bool exposed)
void removeModel(UUID model)
void setCamera(const UUID &camera) override
void mouseInScreenSignal(bool mouse_in_screen)
bool event(QEvent *event) override
QTResourceListener * m_mouse_manager_listener
Definition QtGraphicsWindow.h:113
void updateFallbackStore()
void addScene(Buffer< UUID > model)
void addCameraObjectSlot(UUID camera_id, UUID model)
QRect m_last_render_size
Definition QtGraphicsWindow.h:123
virtual void initialize()
bool m_has_valid_khr
Definition QtGraphicsWindow.h:118
void addModel(Buffer< UUID > model)
DynamicPointer< GraphicsDevice > m_device
Definition QtGraphicsWindow.h:124
void createMouseListener()
Buffer< UUID > m_models_to_add
Definition QtGraphicsWindow.h:112
bool m_is_init
Definition QtGraphicsWindow.h:115
void setSize(const Vector< 2, uint04 > &size) final override
void finishFrame(GraphicsUpdateArguments &args) override
bool m_is_size_valid
Definition QtGraphicsWindow.h:116
void onSelectedSignal(Buffer< UUID > selected)
Thread * m_render_thread
Definition QtGraphicsWindow.h:109
QTModelManager * m_manager
Definition QtGraphicsWindow.h:111
void setOverrideMaterial(UUID material)
void setAnimating(bool animating)
void resizeEvent(QResizeEvent *resize_event) override
bool m_is_exposed
Definition QtGraphicsWindow.h:119
bool m_auto_add_models
Definition QtGraphicsWindow.h:121
void pause(const TimeSpan &span)
void requestContextMenu(const QPoint &pos)
virtual bool visible() const override
void onFocusChanged(UUID focus, bool focussed)
virtual bool shouldExit() const override
void exposeEvent(QExposeEvent *e) override
Renderer * m_render
Definition QtGraphicsWindow.h:107
const DynamicPointer< GraphicsDevice > & device() const
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
Definition QTModelManager.h:105
Represents a color in the RGB space with optional alpha transparency.
Definition RGBColor.h:54
An object that renders a specific Camera object, typically run on a different thread than the main UI...
Definition Renderer.h:52
A thread is a single sequence stream within the software.
Definition Thread.h:67
Stores a time span, or difference between two times, with an optional start time.
Definition TimeSpan.h:46
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
Definition UUID.h:60
A fixed-size array with better performance compared to dynamic containers.
Definition Vector.hpp:60
A (hacky) class for storing a window into a container. This is used if the rendering engine for a par...
Definition WindowContainer.h:37
Defines for a given type (such as sint04, fltp08, UUID, etc) a maximum, minimum, and reserved 'invali...
Definition BaseValues.hpp:233