4#ifndef QSHADERDESCRIPTION_H
5#define QSHADERDESCRIPTION_H
16#include <QtGui/qtguiglobal.h>
17#include <QtCore/qstring.h>
18#include <QtCore/qlist.h>
170 ReadOnlyImage = 1 << 0,
171 WriteOnlyImage = 1 << 1
176 QualifierReadOnly = 1 << 0,
177 QualifierWriteOnly = 1 << 1,
178 QualifierCoherent = 1 << 2,
179 QualifierVolatile = 1 << 3,
180 QualifierRestrict = 1 << 4,
193 int matrixStride = 0;
194 bool matrixIsRowMajor =
false;
203 int descriptorSet = -1;
207 bool perPatch =
false;
216 int descriptorSet = -1;
231 int descriptorSet = -1;
233 int runtimeArrayStride = 0;
250 PointSizeBuiltin = 1,
251 ClipDistanceBuiltin = 3,
252 CullDistanceBuiltin = 4,
254 InstanceIdBuiltin = 6,
255 PrimitiveIdBuiltin = 7,
256 InvocationIdBuiltin = 8,
258 ViewportIndexBuiltin = 10,
259 TessLevelOuterBuiltin = 11,
260 TessLevelInnerBuiltin = 12,
261 TessCoordBuiltin = 13,
262 PatchVerticesBuiltin = 14,
263 FragCoordBuiltin = 15,
264 PointCoordBuiltin = 16,
265 FrontFacingBuiltin = 17,
266 SampleIdBuiltin = 18,
267 SamplePositionBuiltin = 19,
268 SampleMaskBuiltin = 20,
269 FragDepthBuiltin = 22,
270 NumWorkGroupsBuiltin = 24,
271 WorkgroupSizeBuiltin = 25,
272 WorkgroupIdBuiltin = 26,
273 LocalInvocationIdBuiltin = 27,
274 GlobalInvocationIdBuiltin = 28,
275 LocalInvocationIndexBuiltin = 29,
276 VertexIndexBuiltin = 42,
277 InstanceIndexBuiltin = 43
289 std::array<uint, 3> computeShaderLocalSize()
const;
291 uint tessellationOutputVertexCount()
const;
300 TessellationMode tessellationMode()
const;
308 TessellationWindingOrder tessellationWindingOrder()
const;
317 TessellationPartitioning tessellationPartitioning()
const;
322#ifndef QT_NO_DEBUG_STREAM
331#ifndef QT_NO_DEBUG_STREAM
351 return !(lhs == rhs);
356 return !(lhs == rhs);
361 return !(lhs == rhs);
366 return !(lhs == rhs);
371 return !(lhs == rhs);
376 return !(lhs == rhs);
381 return !(lhs == rhs);
\inmodule QtCore\reentrant
TessellationWindingOrder
\value UnknownTessellationWindingOrder \value CwTessellationWindingOrder \value CcwTessellationWindin...
@ CwTessellationWindingOrder
@ UnknownTessellationWindingOrder
VariableType
Represents the type of a variable or block member.
BuiltinType
\variable QShaderDescription::BuiltinVariable::type
TessellationMode
\value UnknownTessellationMode \value TrianglesTessellationMode \value QuadTessellationMode \value Is...
@ TrianglesTessellationMode
@ UnknownTessellationMode
TessellationPartitioning
\value UnknownTessellationPartitioning \value EqualTessellationPartitioning \value FractionalEvenTess...
@ EqualTessellationPartitioning
@ FractionalEvenTessellationPartitioning
@ UnknownTessellationPartitioning
QualifierFlag
Qualifier flags.
Combined button and popup list for selecting options.
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLenum GLuint GLintptr offset
bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
static const struct ImageFormatTab ImageFormatRg16Snorm[]
static const struct ImageFormatTab ImageFormatRg32f[]
static const struct ImageFormatTab ImageFormatRg16ui[]
static const struct ImageFormatTab ImageFormatRg8Snorm[]
static const struct ImageFormatTab ImageFormatRgb10A2[]
static const struct ImageFormatTab ImageFormatRg8ui[]
static const struct ImageFormatTab ImageFormatR32i[]
static const struct ImageFormatTab ImageFormatRg16f[]
static const struct ImageFormatTab ImageFormatR16i[]
static const struct ImageFormatTab ImageFormatRgb10a2ui[]
static const struct ImageFormatTab ImageFormatR8[]
static const struct ImageFormatTab ImageFormatRg16i[]
static const struct ImageFormatTab ImageFormatRg32ui[]
static const struct ImageFormatTab ImageFormatRgba32i[]
static const struct ImageFormatTab ImageFormatRgba16Snorm[]
static const struct ImageFormatTab ImageFormatRgba32ui[]
static const struct ImageFormatTab ImageFormatR8Snorm[]
static const struct ImageFormatTab ImageFormatRg16[]
static const struct TessellationModeTab IsolineTessellationMode[]
static const struct ImageFormatTab ImageFormatR32f[]
static const struct ImageFormatTab ImageFormatRgba8[]
static const struct TessellationPartitioningTab FractionalOddTessellationPartitioning[]
static const struct ImageFormatTab ImageFormatRgba16f[]
static const struct ImageFormatTab ImageFormatRgba16ui[]
static const struct ImageFormatTab ImageFormatR8i[]
static const struct ImageFormatTab ImageFormatR16[]
static const struct ImageFormatTab ImageFormatRgba8Snorm[]
static const struct ImageFormatTab ImageFormatR8ui[]
static const struct ImageFormatTab ImageFormatRg8i[]
static const struct ImageFormatTab ImageFormatR16f[]
static const struct ImageFormatTab ImageFormatRg32i[]
static const struct ImageFormatTab ImageFormatR11fG11fB10f[]
static const struct ImageFormatTab ImageFormatRg8[]
static const struct ImageFormatTab ImageFormatR16ui[]
static const struct ImageFormatTab ImageFormatRgba8i[]
static const struct ImageFormatTab ImageFormatR16Snorm[]
static const struct ImageFormatTab ImageFormatRgba16i[]
static const struct ImageFormatTab ImageFormatUnknown[]
static const struct TessellationWindingOrderTab CcwTessellationWindingOrder[]
static const struct ImageFormatTab ImageFormatRgba16[]
static const struct ImageFormatTab ImageFormatRgba8ui[]
static const struct ImageFormatTab ImageFormatRgba32f[]
static const struct ImageFormatTab ImageFormatR32ui[]
bool operator!=(const QShaderDescription &lhs, const QShaderDescription &rhs) noexcept
Q_GUI_EXPORT bool operator==(const QShaderDescription &lhs, const QShaderDescription &rhs) noexcept
Q_GUI_EXPORT QDebug operator<<(QDebug, const QShaderDescription &)
\variable QShaderDescription::InOutVariable::name
QList< BlockVariable > structMembers
\variable QShaderDescription::StorageBlock::blockName
QList< BlockVariable > structMembers
\variable QShaderDescription::UniformBlock::blockName
QList< BlockVariable > members
\variable QShaderDescription::PushConstantBlock::name
QualifierFlags qualifierFlags
QList< BlockVariable > members