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
qssgrendershadercache_p.h File Reference

(9cfaf713ffcbedfb9c3a4eb834e93032ab936276)

#include <QtQuick3DRuntimeRender/private/qtquick3druntimerenderglobal_p.h>
#include <QtQuick3DUtils/private/qssgdataref_p.h>
#include <QtQuick3DUtils/private/qqsbcollection_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrhicontext_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrendererimplshaders_p.h>
#include <QtCore/QString>
#include <QtCore/qcryptographichash.h>
#include <QtCore/QSharedPointer>
#include <QtCore/QVector>
+ Include dependency graph for qssgrendershadercache_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  QSSGShaderFeatures
 
struct  QSSGShaderCacheKey
 
class  QSSGShaderCache
 

Namespaces

namespace  QtQuick3DEditorHelpers
 
namespace  QtQuick3DEditorHelpers::ShaderBaker
 
namespace  QtQuick3DEditorHelpers::ShaderCache
 

Typedefs

using QtQuick3DEditorHelpers::ShaderBaker::StatusCallback = void(*)(const QByteArray &descKey, Status status, const QString &err, QShader::Stage stage)
 

Enumerations

enum class  QtQuick3DEditorHelpers::ShaderBaker::Status : quint8 { QtQuick3DEditorHelpers::ShaderBaker::Success , QtQuick3DEditorHelpers::ShaderBaker::Error }
 

Functions

Q_QUICK3DRUNTIMERENDER_EXPORT size_t qHash (QSSGShaderFeatures features) noexcept
 
size_t qHash (const QSSGShaderCacheKey &key)
 
Q_QUICK3DRUNTIMERENDER_EXPORT void QtQuick3DEditorHelpers::ShaderBaker::setStatusCallback (StatusCallback cb)
 
Q_QUICK3DRUNTIMERENDER_EXPORT void QtQuick3DEditorHelpers::ShaderCache::setAutomaticDiskCache (bool enable)
 
Q_QUICK3DRUNTIMERENDER_EXPORT bool QtQuick3DEditorHelpers::ShaderCache::isAutomaticDiskCacheEnabled ()
 

Function Documentation

◆ qHash() [1/2]

size_t qHash ( const QSSGShaderCacheKey & key)
inline

Definition at line 159 of file qssgrendershadercache_p.h.

◆ qHash() [2/2]

Q_QUICK3DRUNTIMERENDER_EXPORT size_t qHash ( QSSGShaderFeatures features)
noexcept

Definition at line 40 of file qssgrendershadercache.cpp.

References QSSGShaderFeatures::IndexMask.

Referenced by QSSGShaderCacheKey::generateHashCode().

+ Here is the caller graph for this function: