TextureNodeRhiVulkan Class Reference
Implementation of TextureNodeRhi for the Vulkan graphics API. More...
#include <MinimalSceneRhiVulkan.hh>
Public Member Functions | |
TextureNodeRhiVulkan (QQuickWindow *_window, rendering::CameraPtr &_camera) | |
Constructor. | |
virtual | ~TextureNodeRhiVulkan () override |
virtual bool | HasNewTexture () const override |
Return true if a new texture has been received from the render thread. | |
virtual void | NewTexture (void *_texturePtr, const QSize &_size) override |
This function gets called on the render thread and will store the texture id and size and schedule an update on the window. | |
virtual void | PrepareNode () override |
Before the scene graph starts to render, we update to the pending texture. | |
virtual QSGTexture * | Texture () const override |
Get the Qt scene graph texture. | |
Public Member Functions inherited from TextureNodeRhi | |
virtual | ~TextureNodeRhi () |
Destructor. | |
Detailed Description
Implementation of TextureNodeRhi for the Vulkan graphics API.
Constructor & Destructor Documentation
◆ ~TextureNodeRhiVulkan()
|
overridevirtual |
◆ TextureNodeRhiVulkan()
|
explicit |
Constructor.
- Parameters
-
[in] _window Window to display the texture [in] _camera Camera owning the API texture handle
Member Function Documentation
◆ HasNewTexture()
|
overridevirtual |
Return true if a new texture has been received from the render thread.
Implements TextureNodeRhi.
◆ NewTexture()
|
overridevirtual |
This function gets called on the render thread and will store the texture id and size and schedule an update on the window.
- Parameters
-
[in] _texturePtr Pointer to a texture Id [in] _size Texture size
Implements TextureNodeRhi.
◆ PrepareNode()
|
overridevirtual |
Before the scene graph starts to render, we update to the pending texture.
Implements TextureNodeRhi.
◆ Texture()
|
overridevirtual |
Get the Qt scene graph texture.
Implements TextureNodeRhi.
The documentation for this class was generated from the following file: