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

#include <qssgrendershaderkeys_p.h>

Inheritance diagram for QSSGShaderKeyImageMap:
Collaboration diagram for QSSGShaderKeyImageMap:

Public Types

enum  ImageMapBits {
  Enabled = 1 << 0 , EnvMap = 1 << 1 , LightProbe = 1 << 2 , Identity = 1 << 3 ,
  UsesUV1 = 1 << 4 , Linear = 1 << 5
}
Public Types inherited from QSSGShaderKeyUnsigned< 6 >
enum  

Public Member Functions

 QSSGShaderKeyImageMap (const char *inName="")
bool getBitValue (ImageMapBits imageBit, QSSGDataView< quint32 > inKeySet) const
void setBitValue (ImageMapBits imageBit, bool inValue, QSSGDataRef< quint32 > inKeySet)
bool isEnabled (QSSGDataView< quint32 > inKeySet) const
void setEnabled (QSSGDataRef< quint32 > inKeySet, bool val)
bool isEnvMap (QSSGDataView< quint32 > inKeySet) const
void setEnvMap (QSSGDataRef< quint32 > inKeySet, bool val)
bool isLightProbe (QSSGDataView< quint32 > inKeySet) const
void setLightProbe (QSSGDataRef< quint32 > inKeySet, bool val)
bool isIdentityTransform (QSSGDataView< quint32 > inKeySet) const
void setIdentityTransform (QSSGDataRef< quint32 > inKeySet, bool val)
bool isUsingUV1 (QSSGDataView< quint32 > inKeySet) const
void setUsesUV1 (QSSGDataRef< quint32 > inKeySet, bool val)
bool isLinear (QSSGDataView< quint32 > inKeySet) const
void setLinear (QSSGDataRef< quint32 > inKeySet, bool val)
void toString (QByteArray &ioStr, QSSGDataView< quint32 > inKeySet) const
Public Member Functions inherited from QSSGShaderKeyUnsigned< 6 >
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

Definition at line 247 of file qssgrendershaderkeys_p.h.

Member Enumeration Documentation

◆ ImageMapBits

Enumerator
Enabled 
EnvMap 
LightProbe 
Identity 
UsesUV1 
Linear 

Definition at line 249 of file qssgrendershaderkeys_p.h.

Constructor & Destructor Documentation

◆ QSSGShaderKeyImageMap()

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

Definition at line 258 of file qssgrendershaderkeys_p.h.

Member Function Documentation

◆ getBitValue()

bool QSSGShaderKeyImageMap::getBitValue ( ImageMapBits imageBit,
QSSGDataView< quint32 > inKeySet ) const
inline

Definition at line 260 of file qssgrendershaderkeys_p.h.

◆ isEnabled()

bool QSSGShaderKeyImageMap::isEnabled ( QSSGDataView< quint32 > inKeySet) const
inline

Definition at line 278 of file qssgrendershaderkeys_p.h.

◆ isEnvMap()

bool QSSGShaderKeyImageMap::isEnvMap ( QSSGDataView< quint32 > inKeySet) const
inline

Definition at line 281 of file qssgrendershaderkeys_p.h.

◆ isIdentityTransform()

bool QSSGShaderKeyImageMap::isIdentityTransform ( QSSGDataView< quint32 > inKeySet) const
inline

Definition at line 287 of file qssgrendershaderkeys_p.h.

◆ isLightProbe()

bool QSSGShaderKeyImageMap::isLightProbe ( QSSGDataView< quint32 > inKeySet) const
inline

Definition at line 284 of file qssgrendershaderkeys_p.h.

◆ isLinear()

bool QSSGShaderKeyImageMap::isLinear ( QSSGDataView< quint32 > inKeySet) const
inline

Definition at line 293 of file qssgrendershaderkeys_p.h.

◆ isUsingUV1()

bool QSSGShaderKeyImageMap::isUsingUV1 ( QSSGDataView< quint32 > inKeySet) const
inline

Definition at line 290 of file qssgrendershaderkeys_p.h.

◆ setBitValue()

void QSSGShaderKeyImageMap::setBitValue ( ImageMapBits imageBit,
bool inValue,
QSSGDataRef< quint32 > inKeySet )
inline

Definition at line 265 of file qssgrendershaderkeys_p.h.

◆ setEnabled()

void QSSGShaderKeyImageMap::setEnabled ( QSSGDataRef< quint32 > inKeySet,
bool val )
inline

Definition at line 279 of file qssgrendershaderkeys_p.h.

◆ setEnvMap()

void QSSGShaderKeyImageMap::setEnvMap ( QSSGDataRef< quint32 > inKeySet,
bool val )
inline

Definition at line 282 of file qssgrendershaderkeys_p.h.

◆ setIdentityTransform()

void QSSGShaderKeyImageMap::setIdentityTransform ( QSSGDataRef< quint32 > inKeySet,
bool val )
inline

Definition at line 288 of file qssgrendershaderkeys_p.h.

◆ setLightProbe()

void QSSGShaderKeyImageMap::setLightProbe ( QSSGDataRef< quint32 > inKeySet,
bool val )
inline

Definition at line 285 of file qssgrendershaderkeys_p.h.

◆ setLinear()

void QSSGShaderKeyImageMap::setLinear ( QSSGDataRef< quint32 > inKeySet,
bool val )
inline

Definition at line 294 of file qssgrendershaderkeys_p.h.

◆ setUsesUV1()

void QSSGShaderKeyImageMap::setUsesUV1 ( QSSGDataRef< quint32 > inKeySet,
bool val )
inline

Definition at line 291 of file qssgrendershaderkeys_p.h.

◆ toString()

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

Definition at line 296 of file qssgrendershaderkeys_p.h.


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