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

#include <qssgrendershaderkeys_p.h>

+ Collaboration diagram for QSSGShaderDefaultMaterialKey:

Classes

struct  StringInVisitor
 
struct  StringVisitor
 

Public Types

enum  { DataBufferSize = 13 }
 

Public Member Functions

 QSSGShaderDefaultMaterialKey (size_t inFeatureSetHash)
 
 QSSGShaderDefaultMaterialKey ()
 
size_t hash () const
 
bool operator== (const QSSGShaderDefaultMaterialKey &other) const
 
 operator QSSGDataRef< quint32 > ()
 
 operator QSSGDataView< quint32 > () const
 
void toString (QByteArray &ioString, const QSSGShaderDefaultMaterialKeyProperties &inProperties) const
 
void fromString (QByteArray &ioString, QSSGShaderDefaultMaterialKeyProperties &inProperties)
 
QByteArray toByteArray () const
 
bool fromByteArray (const QByteArray &data) const
 

Public Attributes

quint32 m_dataBuffer [DataBufferSize]
 
size_t m_featureSetHash
 

Detailed Description

Definition at line 881 of file qssgrendershaderkeys_p.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
DataBufferSize 

Definition at line 883 of file qssgrendershaderkeys_p.h.

Constructor & Destructor Documentation

◆ QSSGShaderDefaultMaterialKey() [1/2]

QSSGShaderDefaultMaterialKey::QSSGShaderDefaultMaterialKey ( size_t inFeatureSetHash)
inlineexplicit

Definition at line 889 of file qssgrendershaderkeys_p.h.

References DataBufferSize, and m_dataBuffer.

◆ QSSGShaderDefaultMaterialKey() [2/2]

QSSGShaderDefaultMaterialKey::QSSGShaderDefaultMaterialKey ( )
inline

Definition at line 895 of file qssgrendershaderkeys_p.h.

References DataBufferSize, and m_dataBuffer.

Member Function Documentation

◆ fromByteArray()

bool QSSGShaderDefaultMaterialKey::fromByteArray ( const QByteArray & data) const
inline

Definition at line 971 of file qssgrendershaderkeys_p.h.

References m_dataBuffer.

◆ fromString()

void QSSGShaderDefaultMaterialKey::fromString ( QByteArray & ioString,
QSSGShaderDefaultMaterialKeyProperties & inProperties )
inline

Definition at line 959 of file qssgrendershaderkeys_p.h.

◆ hash()

size_t QSSGShaderDefaultMaterialKey::hash ( ) const
inline

Definition at line 901 of file qssgrendershaderkeys_p.h.

References DataBufferSize, m_dataBuffer, m_featureSetHash, and qHash().

Referenced by QSSGShaderMapKey::QSSGShaderMapKey().

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

◆ operator QSSGDataRef< quint32 >()

QSSGShaderDefaultMaterialKey::operator QSSGDataRef< quint32 > ( )
inline

Definition at line 918 of file qssgrendershaderkeys_p.h.

References DataBufferSize, m_dataBuffer, and toDataRef().

+ Here is the call graph for this function:

◆ operator QSSGDataView< quint32 >()

QSSGShaderDefaultMaterialKey::operator QSSGDataView< quint32 > ( ) const
inline

Definition at line 919 of file qssgrendershaderkeys_p.h.

References DataBufferSize, m_dataBuffer, and toDataView().

+ Here is the call graph for this function:

◆ operator==()

bool QSSGShaderDefaultMaterialKey::operator== ( const QSSGShaderDefaultMaterialKey & other) const
inline

Definition at line 909 of file qssgrendershaderkeys_p.h.

References DataBufferSize, m_dataBuffer, m_featureSetHash, and other().

+ Here is the call graph for this function:

◆ toByteArray()

QByteArray QSSGShaderDefaultMaterialKey::toByteArray ( ) const
inline

Definition at line 964 of file qssgrendershaderkeys_p.h.

References m_dataBuffer, QByteArray::resize(), and ret.

+ Here is the call graph for this function:

◆ toString()

void QSSGShaderDefaultMaterialKey::toString ( QByteArray & ioString,
const QSSGShaderDefaultMaterialKeyProperties & inProperties ) const
inline

Definition at line 953 of file qssgrendershaderkeys_p.h.

Member Data Documentation

◆ m_dataBuffer

◆ m_featureSetHash

size_t QSSGShaderDefaultMaterialKey::m_featureSetHash

Definition at line 887 of file qssgrendershaderkeys_p.h.

Referenced by hash(), and operator==().


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