Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquick3dlightmapper.cpp
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
5
7
127{
128 return m_opacityThreshold;
129}
130
132{
133 return m_bias;
134}
135
137{
138 return m_adaptiveBias;
139}
140
142{
143 return m_indirectLight;
144}
145
147{
148 return m_samples;
149}
150
152{
153 return m_workgroupSize;
154}
155
157{
158 return m_bounces;
159}
160
162{
163 return m_indirectFactor;
164}
165
167{
168 if (m_opacityThreshold == opacity)
169 return;
170
171 m_opacityThreshold = opacity;
173 emit changed();
174}
175
177{
178 if (m_bias == bias)
179 return;
180
181 m_bias = bias;
183 emit changed();
184}
185
187{
188 if (m_adaptiveBias == enabled)
189 return;
190
191 m_adaptiveBias = enabled;
193 emit changed();
194}
195
197{
198 if (m_indirectLight == enabled)
199 return;
200
201 m_indirectLight = enabled;
203 emit changed();
204}
205
207{
208 if (m_samples == count)
209 return;
210
211 m_samples = count;
213 emit changed();
214}
215
217{
218 if (m_workgroupSize == size)
219 return;
220
221 m_workgroupSize = size;
223 emit changed();
224}
225
227{
228 if (m_bounces == count)
229 return;
230
231 m_bounces = count;
233 emit changed();
234}
235
237{
238 if (m_indirectFactor == factor)
239 return;
240
241 m_indirectFactor = factor;
243 emit changed();
244}
245
void adaptiveBiasEnabledChanged()
void indirectLightEnabledChanged()
void setOpacityThreshold(float opacity)
void opacityThresholdChanged()
void setIndirectLightEnabled(bool enabled)
void setIndirectLightFactor(float factor)
void setAdaptiveBiasEnabled(bool enabled)
void indirectLightWorkgroupSizeChanged()
void indirectLightFactorChanged()
void setIndirectLightWorkgroupSize(int size)
Combined button and popup list for selecting options.
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLenum GLenum GLsizei count
GLenum GLenum GLsizei const GLuint GLboolean enabled
GLfloat bias
#define emit
#define enabled