Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSSGShaderKeyAlphaMode Struct Reference

#include <qssgrendershaderkeys_p.h>

+ Inheritance diagram for QSSGShaderKeyAlphaMode:
+ Collaboration diagram for QSSGShaderKeyAlphaMode:

Public Member Functions

 QSSGShaderKeyAlphaMode (const char *inName="")
 
void setAlphaMode (QSSGDataRef< quint32 > inKeySet, QSSGRenderDefaultMaterial::MaterialAlphaMode inMode)
 
QSSGRenderDefaultMaterial::MaterialAlphaMode getAlphaMode (QSSGDataView< quint32 > inKeySet) const
 
void toString (QByteArray &ioStr, QSSGDataView< quint32 > inKeySet) const
 
void fromString (const QByteArray &ioStr, QSSGDataRef< quint32 > inKeySet)
 
- Public Member Functions inherited from QSSGShaderKeyUnsigned< 2 >
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 Types inherited from QSSGShaderKeyUnsigned< 2 >
enum  
 
- 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 364 of file qssgrendershaderkeys_p.h.

Constructor & Destructor Documentation

◆ QSSGShaderKeyAlphaMode()

QSSGShaderKeyAlphaMode::QSSGShaderKeyAlphaMode ( const char * inName = "")
inlineexplicit

Definition at line 366 of file qssgrendershaderkeys_p.h.

Member Function Documentation

◆ fromString()

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

Definition at line 398 of file qssgrendershaderkeys_p.h.

References QSSGRenderDefaultMaterial::Blend, QSSGRenderDefaultMaterial::Default, QSSGRenderDefaultMaterial::Mask, QByteArray::mid(), QSSGRenderDefaultMaterial::Opaque, and setAlphaMode().

+ Here is the call graph for this function:

◆ getAlphaMode()

QSSGRenderDefaultMaterial::MaterialAlphaMode QSSGShaderKeyAlphaMode::getAlphaMode ( QSSGDataView< quint32 > inKeySet) const
inline

Definition at line 373 of file qssgrendershaderkeys_p.h.

References QSSGShaderKeyUnsigned< 2 >::getValue().

Referenced by toString().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setAlphaMode()

void QSSGShaderKeyAlphaMode::setAlphaMode ( QSSGDataRef< quint32 > inKeySet,
QSSGRenderDefaultMaterial::MaterialAlphaMode inMode )
inline

Definition at line 368 of file qssgrendershaderkeys_p.h.

References QSSGShaderKeyUnsigned< 2 >::setValue().

Referenced by fromString().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toString()

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

Definition at line 378 of file qssgrendershaderkeys_p.h.

References QSSGRenderDefaultMaterial::Blend, QSSGRenderDefaultMaterial::Default, getAlphaMode(), QSSGRenderDefaultMaterial::Mask, and QSSGRenderDefaultMaterial::Opaque.

+ Here is the call graph for this function:

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