25 Q_PROPERTY(
float opacityThreshold READ opacityThreshold WRITE setOpacityThreshold NOTIFY opacityThresholdChanged)
27 Q_PROPERTY(
bool adaptiveBiasEnabled READ isAdaptiveBiasEnabled WRITE setAdaptiveBiasEnabled NOTIFY adaptiveBiasEnabledChanged)
28 Q_PROPERTY(
bool indirectLightEnabled READ isIndirectLightEnabled WRITE setIndirectLightEnabled NOTIFY indirectLightEnabledChanged)
30 Q_PROPERTY(
int indirectLightWorkgroupSize READ indirectLightWorkgroupSize WRITE setIndirectLightWorkgroupSize NOTIFY indirectLightWorkgroupSizeChanged)
31 Q_PROPERTY(
int bounces READ bounces WRITE setBounces NOTIFY bouncesChanged)
32 Q_PROPERTY(
float indirectLightFactor READ indirectLightFactor WRITE setIndirectLightFactor NOTIFY indirectLightFactorChanged)
37 float opacityThreshold() const;
39 bool isAdaptiveBiasEnabled() const;
40 bool isIndirectLightEnabled() const;
42 int indirectLightWorkgroupSize() const;
44 float indirectLightFactor() const;
47 void setOpacityThreshold(
float opacity);
48 void setBias(
float bias);
49 void setAdaptiveBiasEnabled(
bool enabled);
50 void setIndirectLightEnabled(
bool enabled);
51 void setSamples(
int count);
52 void setIndirectLightWorkgroupSize(
int size);
53 void setBounces(
int count);
54 void setIndirectLightFactor(
float factor);
58 void opacityThresholdChanged();
60 void adaptiveBiasEnabledChanged();
61 void indirectLightEnabledChanged();
62 void samplesChanged();
63 void indirectLightWorkgroupSizeChanged();
64 void bouncesChanged();
65 void indirectLightFactorChanged();
69 float m_opacityThreshold = 0.5
f;
70 float m_bias = 0.005
f;
71 bool m_adaptiveBias = true;
72 bool m_indirectLight = true;
74 int m_workgroupSize = 32;
76 float m_indirectFactor = 1.0
f;