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>
53 QShaderVersion version{};
67SCORE_PLUGIN_GFX_EXPORT
68std::shared_ptr<RenderState>
69createRenderState(
GraphicsApi graphicsApi, QSize sz, QWindow* window);
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