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

#include <qssgrhieffectsystem_p.h>

+ Collaboration diagram for QSSGEffectSceneCacheKey:

Public Member Functions

void updateHashCode ()
 
bool operator== (const QSSGEffectSceneCacheKey &other) const
 

Static Public Member Functions

static size_t generateHashCode (const QByteArray &shaderPathKey, quintptr cmd, int ubufIndex)
 

Public Attributes

QByteArray m_shaderPathKey
 
quintptr m_cmd
 
int m_ubufIndex
 
size_t m_hashCode = 0
 

Detailed Description

Definition at line 32 of file qssgrhieffectsystem_p.h.

Member Function Documentation

◆ generateHashCode()

static size_t QSSGEffectSceneCacheKey::generateHashCode ( const QByteArray & shaderPathKey,
quintptr cmd,
int ubufIndex )
inlinestatic

Definition at line 40 of file qssgrhieffectsystem_p.h.

References qHash().

Referenced by updateHashCode().

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

◆ operator==()

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

Definition at line 50 of file qssgrhieffectsystem_p.h.

References m_cmd, m_shaderPathKey, m_ubufIndex, and other().

+ Here is the call graph for this function:

◆ updateHashCode()

void QSSGEffectSceneCacheKey::updateHashCode ( )
inline

Definition at line 45 of file qssgrhieffectsystem_p.h.

References generateHashCode(), m_cmd, m_hashCode, m_shaderPathKey, and m_ubufIndex.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_cmd

quintptr QSSGEffectSceneCacheKey::m_cmd

Definition at line 35 of file qssgrhieffectsystem_p.h.

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

◆ m_hashCode

size_t QSSGEffectSceneCacheKey::m_hashCode = 0

Definition at line 38 of file qssgrhieffectsystem_p.h.

Referenced by updateHashCode().

◆ m_shaderPathKey

QByteArray QSSGEffectSceneCacheKey::m_shaderPathKey

Definition at line 34 of file qssgrhieffectsystem_p.h.

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

◆ m_ubufIndex

int QSSGEffectSceneCacheKey::m_ubufIndex

Definition at line 36 of file qssgrhieffectsystem_p.h.

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


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