2#include <QOffscreenSurface>
3#include <QtGui/private/qrhi_p.h>
5#include <score_plugin_gfx_export.h>
7#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
8using QRhiBufferReadbackResult = QRhiReadbackResult;
11class QOffscreenSurface;
43 QRhiRenderPassDescriptor* renderPassDescriptor{};
44 std::weak_ptr<RenderList> renderer{};
46 QOffscreenSurface* surface{};
47 std::weak_ptr<score::gfx::Window>
52 QRhiTexture::Format renderFormat{QRhiTexture::RGBA8};
54 QShaderVersion version{};
68SCORE_PLUGIN_GFX_EXPORT
69std::shared_ptr<RenderState>
70createRenderState(
GraphicsApi graphicsApi, QSize sz, QWindow* window);
72static const constexpr int32_t invalid_node_index = -1;
Graphics rendering pipeline for ossia score.
Definition Filter/PreviewWidget.hpp:12
GraphicsApi
Available graphics APIs to use.
Definition RenderState.hpp:20
Global state associated to a rendering context.
Definition RenderState.hpp:35