Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSSGShaderKeyUnsigned< TBitWidth > Struct Template Reference

#include <qssgrendershaderkeys_p.h>

Inheritance diagram for QSSGShaderKeyUnsigned< TBitWidth >:
Collaboration diagram for QSSGShaderKeyUnsigned< TBitWidth >:

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)
Public Member Functions inherited from QSSGShaderKeyPropertyBase
constexpr QSSGShaderKeyPropertyBase (const char *inName="")
quint32 getOffset () const
void setOffset (quint32 of)
template<quint32 TBitWidth>
quint32 getMaskTemplate () const
quint32 getIdx () const

Additional Inherited Members

Public Attributes inherited from QSSGShaderKeyPropertyBase
QByteArrayView name
quint32 offset
Protected Member Functions inherited from QSSGShaderKeyPropertyBase
void internalToString (QByteArray &ioStr, const QByteArrayView &inBuffer) const
Static Protected Member Functions inherited from QSSGShaderKeyPropertyBase
static void internalToString (QByteArray &ioStr, const QByteArrayView &name, bool inValue)
static bool getBoolValue (const QByteArray &str, const QByteArrayView &name)

Detailed Description

template<quint32 TBitWidth>
struct QSSGShaderKeyUnsigned< TBitWidth >

Definition at line 126 of file qssgrendershaderkeys_p.h.

Member Enumeration Documentation

◆ anonymous enum

template<quint32 TBitWidth>
anonymous enum
Enumerator
BitWidth 

Definition at line 128 of file qssgrendershaderkeys_p.h.

Constructor & Destructor Documentation

◆ QSSGShaderKeyUnsigned()

template<quint32 TBitWidth>
QSSGShaderKeyUnsigned< TBitWidth >::QSSGShaderKeyUnsigned ( const char * inName = "")
inlineexplicitconstexpr

Definition at line 131 of file qssgrendershaderkeys_p.h.

Member Function Documentation

◆ fromString()

template<quint32 TBitWidth>
void QSSGShaderKeyUnsigned< TBitWidth >::fromString ( const QByteArray & ioStr,
QSSGDataRef< quint32 > inKeySet )
inline

Definition at line 170 of file qssgrendershaderkeys_p.h.

◆ getMask()

template<quint32 TBitWidth>
quint32 QSSGShaderKeyUnsigned< TBitWidth >::getMask ( ) const
inline

Definition at line 132 of file qssgrendershaderkeys_p.h.

References BitWidth.

◆ getValue()

template<quint32 TBitWidth>
quint32 QSSGShaderKeyUnsigned< TBitWidth >::getValue ( QSSGDataView< quint32 > inDataStore) const
inline

Definition at line 149 of file qssgrendershaderkeys_p.h.

◆ setValue()

template<quint32 TBitWidth>
void QSSGShaderKeyUnsigned< TBitWidth >::setValue ( QSSGDataRef< quint32 > inDataStore,
quint32 inValue ) const
inline

Definition at line 133 of file qssgrendershaderkeys_p.h.

◆ toString()

template<quint32 TBitWidth>
void QSSGShaderKeyUnsigned< TBitWidth >::toString ( QByteArray & ioStr,
QSSGDataView< quint32 > inKeySet ) const
inline

Definition at line 161 of file qssgrendershaderkeys_p.h.


The documentation for this struct was generated from the following file: