API Documentation
Loading...
Searching...
No Matches
VulkanGraphicsWindow Class Reference

#include <VulkanGraphicsWindow.h>

Inheritance diagram for VulkanGraphicsWindow:
[legend]
Collaboration diagram for VulkanGraphicsWindow:
[legend]

Public Member Functions

void finishFrame (GraphicsUpdateArguments &args) final override
 
void * getSurface () override
 
virtual void initialize () override
 
void setModelManager (QTModelManager *manager, bool auto_add_models) override
 
void updateInstance () override
 
 VulkanGraphicsWindow (QWindow *parent, Qt::WindowFlags flags)
 
 ~VulkanGraphicsWindow ()
 
- Public Member Functions inherited from QTGraphicsWindow
const DynamicPointer< GraphicsDevice > & device () const
 
void exposeEvent (QExposeEvent *e) override
 
void finishFrame (GraphicsUpdateArguments &args) override
 
void flushBackingStore ()
 
QImage getImage () const
 
void pause (const TimeSpan &span)
 
 QTGraphicsWindow (const DynamicPointer< GraphicsDevice > &device, QWindow *parent, Qt::WindowFlags flags)
 
void resizeEvent (QResizeEvent *resize_event) override
 
void setAnimating (bool animating)
 
void setCamera (const UUID &camera) override
 
void setExposed (bool exposed)
 
virtual bool shouldExit () const override
 
void updateSize ()
 
virtual bool visible () const override
 
 ~QTGraphicsWindow ()
 

Static Public Member Functions

static QVulkanInstance * DefaultQTVulkanInstance ()
 
static void SetupVulkanInstance (QTModelManager *manager)
 

Additional Inherited Members

- Public Slots inherited from QTGraphicsWindow
void addCameraObjectSlot (UUID camera_id, UUID model)
 
void addModel (Buffer< UUID > model)
 
void addScene (Buffer< UUID > model)
 
void clearModels ()
 
void contextMenu (const QPoint &pos)
 
void onFocusChanged (UUID focus, bool focussed)
 
void onSelectionChanged (Buffer< UUID > selection, bool selected)
 
void removeModel (UUID model)
 
void setOverrideMaterial (UUID material)
 
void setSize (const Vector< 2, uint04 > &size) final override
 
void updateFallbackStore ()
 
- Signals inherited from QTGraphicsWindow
void mouseInScreenSignal (bool mouse_in_screen)
 
void onSelectedSignal (Buffer< UUID > selected)
 
void renderShowing ()
 
void requestContextMenu (const QPoint &pos)
 
- Protected Member Functions inherited from QTGraphicsWindow
void addRootModels ()
 
void createMouseListener ()
 
bool event (QEvent *event) override
 
RenderergetRenderer ()
 
- Protected Attributes inherited from QTGraphicsWindow
bool m_animating
 
bool m_auto_add_models
 
QBackingStore * m_backing_store = nullptr
 
DynamicPointer< GraphicsDevicem_device
 
bool m_has_valid_khr
 
bool m_initiation_failure
 
bool m_instance_valid = false
 
bool m_is_exposed
 
bool m_is_init
 
bool m_is_size_valid
 
QRect m_last_render_size
 
QTModelManagerm_manager
 
Buffer< UUIDm_models_to_add
 
QTResourceListenerm_mouse_manager_listener
 
Rendererm_render
 
Threadm_render_thread
 

Constructor & Destructor Documentation

◆ VulkanGraphicsWindow()

VulkanGraphicsWindow ( QWindow * parent,
Qt::WindowFlags flags )
explicit

◆ ~VulkanGraphicsWindow()

Member Function Documentation

◆ DefaultQTVulkanInstance()

static QVulkanInstance * DefaultQTVulkanInstance ( )
static

◆ finishFrame()

void finishFrame ( GraphicsUpdateArguments & args)
finaloverride

◆ getSurface()

void * getSurface ( )
override

◆ initialize()

virtual void initialize ( )
overridevirtual

Reimplemented from QTGraphicsWindow.

◆ setModelManager()

void setModelManager ( QTModelManager * manager,
bool auto_add_models )
overridevirtual

Reimplemented from QTGraphicsWindow.

◆ SetupVulkanInstance()

static void SetupVulkanInstance ( QTModelManager * manager)
static

◆ updateInstance()

void updateInstance ( )
override

The documentation for this class was generated from the following file: