![]() |
Qt 6.x
The Qt SDK
|
#include <qssgrendershaderkeys_p.h>
Public Types | |
enum | { BitWidth = TBitWidth } |
Public Member Functions | |
constexpr | QSSGShaderKeyUnsigned (const char *inName="") |
quint32 | getMask () const |
void | setValue (QSSGDataRef< quint32 > inDataStore, quint32 inValue) const |
quint32 | 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 126 of file qssgrendershaderkeys_p.h.
anonymous enum |
Enumerator | |
---|---|
BitWidth |
Definition at line 128 of file qssgrendershaderkeys_p.h.
|
inlineexplicitconstexpr |
Definition at line 131 of file qssgrendershaderkeys_p.h.
|
inline |
Definition at line 170 of file qssgrendershaderkeys_p.h.
References i, QByteArray::indexOf(), isDigit(), QByteArray::right(), QSSGShaderKeyUnsigned< TBitWidth >::setValue(), and QByteArray::size().
|
inline |
Definition at line 132 of file qssgrendershaderkeys_p.h.
Referenced by QSSGShaderKeyUnsigned< TBitWidth >::getValue(), and QSSGShaderKeyUnsigned< TBitWidth >::setValue().
|
inline |
Definition at line 149 of file qssgrendershaderkeys_p.h.
References QSSGShaderKeyPropertyBase::getIdx(), and QSSGShaderKeyUnsigned< TBitWidth >::getMask().
Referenced by QSSGMaterialVertexPipeline::beginVertexGeneration(), generateFragmentShader(), QSSGMaterialShaderGenerator::setRhiMaterialProperties(), and QSSGShaderKeyUnsigned< TBitWidth >::toString().
|
inline |
Definition at line 133 of file qssgrendershaderkeys_p.h.
References QSSGShaderKeyPropertyBase::getIdx(), and QSSGShaderKeyUnsigned< TBitWidth >::getMask().
Referenced by QSSGShaderKeyUnsigned< TBitWidth >::fromString(), QSSGLayerRenderData::generateLightingKey(), QSSGLayerRenderData::prepareModelsForRender(), and QSSGLayerRenderData::setVertexInputPresence().
|
inline |
Definition at line 161 of file qssgrendershaderkeys_p.h.
References QSSGShaderKeyUnsigned< TBitWidth >::getValue(), QSSGShaderKeyPropertyBase::internalToString(), and toDataRef().