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
QSSGShaderKeyBoolean Struct Reference

#include <qssgrendershaderkeys_p.h>

Inheritance diagram for QSSGShaderKeyBoolean:
Collaboration diagram for QSSGShaderKeyBoolean:

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)
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

Definition at line 82 of file qssgrendershaderkeys_p.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
BitWidth 

Definition at line 84 of file qssgrendershaderkeys_p.h.

Constructor & Destructor Documentation

◆ QSSGShaderKeyBoolean()

QSSGShaderKeyBoolean::QSSGShaderKeyBoolean ( const char * inName = "")
inlineexplicitconstexpr

Definition at line 88 of file qssgrendershaderkeys_p.h.

Member Function Documentation

◆ fromString()

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

Definition at line 119 of file qssgrendershaderkeys_p.h.

◆ getMask()

quint32 QSSGShaderKeyBoolean::getMask ( ) const
inline

Definition at line 90 of file qssgrendershaderkeys_p.h.

References BitWidth.

◆ getValue()

bool QSSGShaderKeyBoolean::getValue ( QSSGDataView< quint32 > inDataStore) const
inline

Definition at line 106 of file qssgrendershaderkeys_p.h.

◆ setValue()

void QSSGShaderKeyBoolean::setValue ( QSSGDataRef< quint32 > inDataStore,
bool inValue ) const
inline

Definition at line 91 of file qssgrendershaderkeys_p.h.

◆ toString()

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

Definition at line 114 of file qssgrendershaderkeys_p.h.


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