Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
ShaderNodeRhi.h File Reference
#include <PhosphorRendering/phosphorrendering_export.h>
#include <PhosphorShaders/BaseUniforms.h>
#include <PhosphorShaders/IUniformExtension.h>
#include <QColor>
#include <QImage>
#include <QMatrix4x4>
#include <QPointF>
#include <QPointer>
#include <QSizeF>
#include <QQuickItem>
#include <QSGRenderNode>
#include <QSGTextureProvider>
#include <QString>
#include <QStringList>
#include <QVector>
#include <QVector4D>
#include <array>
#include <atomic>
#include <map>
#include <memory>
#include <mutex>
#include <rhi/qrhi.h>

Go to the source code of this file.

Classes

class  PhosphorRendering::ShaderNodeRhi
 QSGRenderNode for fullscreen-quad shader rendering via Qt RHI (Vulkan / OpenGL) More...
 
struct  PhosphorRendering::WarmShaderBakeResult
 Result of warmShaderBakeCacheForPaths for reporting to UI. More...
 

Namespaces

namespace  PhosphorRendering
 

Functions

constexpr bool PhosphorRendering::isConsumerBinding (int binding) noexcept
 
PHOSPHORRENDERING_EXPORT WarmShaderBakeResult PhosphorRendering::warmShaderBakeCacheForPaths (const QString &vertexPath, const QString &fragmentPath, const QStringList &includePaths={})
 Pre-load cache warming: load, bake, and insert shaders for the given paths into the shared bake cache.
 

Variables

constexpr int PhosphorRendering::kMaxBufferPasses = 4
 
constexpr int PhosphorRendering::kMaxUserTextures = 4
 
constexpr int PhosphorRendering::kMaxCustomParams = 8
 
constexpr int PhosphorRendering::kMaxCustomColors = 16
 
constexpr int PhosphorRendering::kFirstFreeConsumerBinding = 1
 First slot usable via setExtraBinding()
 
constexpr int PhosphorRendering::kMaxConsumerBinding = 31
 Highest portable SRB binding.
 
constexpr int PhosphorRendering::kReservedBindingRangeStart = 2
 First library-managed binding above 0.
 
constexpr int PhosphorRendering::kReservedBindingRangeEnd = 12
 Last library-managed binding.
 
constexpr int PhosphorRendering::kUserTextureBaseBinding = 7
 First SRB binding for the user-texture slots (slot 0 → binding 7).