![]() |
Qt 6.x
The Qt SDK
|
#include <qssgrendershaderkeys_p.h>
Public Types | |
enum | { BitWidth = 1 } |
Public Member Functions | |
constexpr | QSSGShaderKeyBoolean (const char *inName="") |
quint32 | getMask () const |
void | setValue (QSSGDataRef< quint32 > inDataStore, bool inValue) const |
bool | getValue (QSSGDataView< quint32 > inDataStore) const |
void | toString (QByteArray &ioStr, QSSGDataView< quint32 > inKeySet) const |
void | fromString (const QByteArray &ioStr, QSSGDataRef< quint32 > inKeySet) |
![]() | |
constexpr | QSSGShaderKeyPropertyBase (const char *inName="") |
quint32 | getOffset () const |
void | setOffset (quint32 of) |
template<quint32 TBitWidth> | |
quint32 | getMaskTemplate () const |
quint32 | getIdx () const |
Additional Inherited Members | |
![]() | |
QByteArrayView | name |
quint32 | offset |
![]() | |
void | internalToString (QByteArray &ioStr, const QByteArrayView &inBuffer) const |
![]() | |
static void | internalToString (QByteArray &ioStr, const QByteArrayView &name, bool inValue) |
static bool | getBoolValue (const QByteArray &str, const QByteArrayView &name) |
Definition at line 82 of file qssgrendershaderkeys_p.h.
anonymous enum |
Enumerator | |
---|---|
BitWidth |
Definition at line 84 of file qssgrendershaderkeys_p.h.
|
inlineexplicitconstexpr |
Definition at line 88 of file qssgrendershaderkeys_p.h.
|
inline |
Definition at line 119 of file qssgrendershaderkeys_p.h.
References QSSGShaderKeyPropertyBase::getBoolValue(), and setValue().
|
inline |
Definition at line 90 of file qssgrendershaderkeys_p.h.
Referenced by getValue(), and setValue().
|
inline |
Definition at line 106 of file qssgrendershaderkeys_p.h.
References QSSGShaderKeyPropertyBase::getIdx(), and getMask().
Referenced by QSSGMaterialVertexPipeline::beginVertexGeneration(), calcLightPoint(), QSSGMaterialVertexPipeline::doGenerateVarBinormal(), QSSGMaterialVertexPipeline::doGenerateVarTangent(), QSSGMaterialVertexPipeline::doGenerateWorldNormal(), generateFragmentShader(), QSSGMaterialVertexPipeline::generateShadowWorldPosition(), QSSGMaterialVertexPipeline::generateVertexColor(), QSSGMaterialVertexPipeline::generateWorldPosition(), maybeAddMaterialFresnel(), RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), rhiPrepareResourcesForShadowMap(), QSSGMaterialShaderGenerator::setRhiMaterialProperties(), and toString().
|
inline |
Definition at line 91 of file qssgrendershaderkeys_p.h.
References QSSGShaderKeyPropertyBase::getIdx(), getMask(), Q_ASSERT, and QSSGDataRef< T >::size().
Referenced by fromString(), QSSGLayerRenderData::generateLightingKey(), and QSSGLayerRenderData::prepareModelsForRender().
|
inline |
Definition at line 114 of file qssgrendershaderkeys_p.h.
References getValue(), and QSSGShaderKeyPropertyBase::internalToString().