![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qssgrendershadercache_p.h>
Public Types | |
| enum class | Feature : FlagType { LightProbe = (1 << 8) , IblOrientation = (1 << 9) + 1 , Ssm = (1 << 10) + 2 , Ssao = (1 << 11) + 3 , DepthPass = (1 << 12) + 4 , OrthoShadowPass = (1 << 13) + 5 , PerspectiveShadowPass = (1 << 14) + 6 , LinearTonemapping = (1 << 15) + 7 , AcesTonemapping = (1 << 16) + 8 , HejlDawsonTonemapping = (1 << 17) + 9 , FilmicTonemapping = (1 << 18) + 10 , RGBELightProbe = (1 << 19) + 11 , OpaqueDepthPrePass = (1 << 20) + 12 , ReflectionProbe = (1 << 21) + 13 , ReduceMaxNumLights = (1 << 22) + 14 , Lightmap = (1 << 23) + 15 , DisableMultiView = (1 << 24) + 16 , ForceIblExposure = (1 << 25) + 17 , NormalPass = (1 << 26) + 18 , UserRenderPass = (1 << 27) + 19 , MotionVector = (1 << 28) + 20 , LastFeature } |
| using | FlagType = quint32 |
Public Member Functions | |
| constexpr bool | isNull () const |
| constexpr bool | isSet (Feature feature) const |
| void | set (Feature feature, bool valval) |
| void | disableTonemapping () |
Static Public Member Functions | |
| static const char * | asDefineString (QSSGShaderFeatures::Feature feature) |
| static Feature | fromIndex (quint32 idx) |
Public Attributes | |
| FlagType | flags = 0 |
Static Public Attributes | |
| static constexpr FlagType | IndexMask = 0xff |
| static constexpr quint32 | Count = (static_cast<FlagType>(Feature::LastFeature) & IndexMask) |
Friends | |
| bool | operator== (QSSGShaderFeatures aa, QSSGShaderFeatures bb) |
| QDebug | operator<< (QDebug streamstream, const QSSGShaderFeatures &features) |
Definition at line 113 of file qssgrendershadercache_p.h.
| using QSSGShaderFeatures::FlagType = quint32 |
Definition at line 140 of file qssgrendershadercache_p.h.
|
strong |
Definition at line 141 of file qssgrendershadercache_p.h.
|
static |
Definition at line 129 of file qssgrendershadercache.cpp.
|
inline |
Definition at line 181 of file qssgrendershadercache_p.h.
|
static |
Definition at line 130 of file qssgrendershadercache.cpp.
|
inlineconstexpr |
Definition at line 173 of file qssgrendershadercache_p.h.
|
inlineconstexpr |
Definition at line 174 of file qssgrendershadercache_p.h.
| void QSSGShaderFeatures::set | ( | QSSGShaderFeatures::Feature | feature, |
| bool | val ) |
Definition at line 132 of file qssgrendershadercache.cpp.
|
friend |
Definition at line 190 of file qssgrendershadercache_p.h.
|
friend |
Definition at line 179 of file qssgrendershadercache_p.h.
|
staticconstexpr |
Definition at line 168 of file qssgrendershadercache_p.h.
| FlagType QSSGShaderFeatures::flags = 0 |
Definition at line 177 of file qssgrendershadercache_p.h.
|
staticconstexpr |
Definition at line 167 of file qssgrendershadercache_p.h.