5#ifndef QSSG_RENDER_LAYER_H
6#define QSSG_RENDER_LAYER_H
19#include <QtQuick3DRuntimeRender/private/qssgrendernode_p.h>
20#include <QtQuick3DRuntimeRender/private/qssglightmapper_p.h>
21#include <QtCore/qvarlengtharray.h>
22#include <QtCore/qlist.h>
26struct QSSGRenderPresentation;
98 EnableDepthTest = 0x1,
99 EnableDepthPrePass = 0x2,
141 float aoStrength = 0.0f;
142 float aoDistance = 5.0f;
143 float aoSoftness = 50.0f;
146 bool aoDither =
false;
147 bool aoEnabled =
false;
149 constexpr bool ssaoEnabled()
const {
return aoEnabled && (aoStrength > 0.0f && aoDistance > 0.0f); }
180 LayerFlags layerFlags { LayerFlag::RenderToTarget,
181 LayerFlag::EnableDepthTest,
182 LayerFlag::EnableDepthPrePass };
187 bool skyBoxIsRgbe8 =
false;
190 float skyboxBlurAmount = 0.0f;
193 bool gridEnabled =
false;
194 float gridScale = 1.0f;
208 float density = 1.0f;
209 bool depthEnabled =
false;
210 float depthBegin = 10.0f;
211 float depthEnd = 1000.0f;
212 float depthCurve = 1.0f;
213 bool heightEnabled =
false;
214 float heightMin = 10.0f;
215 float heightMax = 0.0f;
216 float heightCurve = 1.0f;
217 bool transmitEnabled =
false;
218 float transmitCurve = 1.0f;
225 bool wireframeMode =
false;
230 void setProbeOrientation(
const QVector3D &angles);
\qmltype Object3D \inqmlmodule QtQuick3D \instantiates QQuick3DObject \inherits QtObject
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QVector3D class represents a vector or vertex in 3D space.
Combined button and popup list for selecting options.
#define Q_DECLARE_FLAGS(Flags, Enum)
GLenum GLenum GLsizei const GLuint GLboolean enabled
QSSGRenderCamera * explicitCamera
QSSGLightmapperOptions lmOptions
QMatrix3x3 probeOrientation
QSSGRenderCamera * renderedCamera
QVector< QSSGRenderGraphObject * > resourceLoaders
QSSGRenderImage * lightProbe
QSSGRenderLayer::AAMode antialiasingMode
QSSGRenderLayer::Background background
constexpr bool ssaoEnabled() const
bool progressiveAAIsActive
QSSGRenderLayer::AAQuality antialiasingQuality
QVector3D probeOrientationAngles
QVarLengthArray< QRhiShaderResourceBindings *, 4 > item2DSrbs
QSSGRenderEffect * firstEffect