![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qssgrendershaderlibrarymanager_p.h>
Public Types | |
typedef QHash< QByteArray, QByteArray > | TPathDataMap |
typedef QSet< QString > | TPathSet |
Public Member Functions | |
QSSGShaderLibraryManager () | |
~QSSGShaderLibraryManager () | |
void | setShaderSource (const QByteArray &inShaderPathKey, QSSGShaderCache::ShaderType type, const QByteArray &inSource, const QSSGCustomShaderMetaData &meta) |
void | loadPregeneratedShaderInfo () |
void | resolveIncludeFiles (QByteArray &theReadBuffer, const QByteArray &inMaterialInfoString) |
QByteArray | getIncludeContents (const QByteArray &inShaderPathKey) |
QByteArray | getShaderSource (const QByteArray &inShaderPathKey, QSSGShaderCache::ShaderType type) |
QSSGCustomShaderMetaData | getShaderMetaData (const QByteArray &inShaderPathKey, QSSGShaderCache::ShaderType type) |
void | setShaderCodeLibraryVersion (const QByteArray &version) |
Static Public Member Functions | |
static QString | getShaderCodeLibraryDirectory () |
static bool | compare (const QSSGShaderDefaultMaterialKey &key1, const QSSGShaderDefaultMaterialKey &key2) |
Definition at line 69 of file qssgrendershaderlibrarymanager_p.h.
Definition at line 73 of file qssgrendershaderlibrarymanager_p.h.
Definition at line 74 of file qssgrendershaderlibrarymanager_p.h.
|
explicit |
Definition at line 26 of file qssgrendershaderlibrarymanager.cpp.
QSSGShaderLibraryManager::~QSSGShaderLibraryManager | ( | ) |
Definition at line 28 of file qssgrendershaderlibrarymanager.cpp.
|
static |
Definition at line 181 of file qssgrendershaderlibrarymanager.cpp.
QByteArray QSSGShaderLibraryManager::getIncludeContents | ( | const QByteArray & | inShaderPathKey | ) |
Definition at line 97 of file qssgrendershaderlibrarymanager.cpp.
|
static |
Definition at line 18 of file qssgrendershaderlibrarymanager.cpp.
QSSGCustomShaderMetaData QSSGShaderLibraryManager::getShaderMetaData | ( | const QByteArray & | inShaderPathKey, |
QSSGShaderCache::ShaderType | type ) |
Definition at line 156 of file qssgrendershaderlibrarymanager.cpp.
QByteArray QSSGShaderLibraryManager::getShaderSource | ( | const QByteArray & | inShaderPathKey, |
QSSGShaderCache::ShaderType | type ) |
Definition at line 143 of file qssgrendershaderlibrarymanager.cpp.
void QSSGShaderLibraryManager::loadPregeneratedShaderInfo | ( | ) |
Definition at line 169 of file qssgrendershaderlibrarymanager.cpp.
void QSSGShaderLibraryManager::resolveIncludeFiles | ( | QByteArray & | theReadBuffer, |
const QByteArray & | inMaterialInfoString ) |
Definition at line 66 of file qssgrendershaderlibrarymanager.cpp.
void QSSGShaderLibraryManager::setShaderCodeLibraryVersion | ( | const QByteArray & | version | ) |
void QSSGShaderLibraryManager::setShaderSource | ( | const QByteArray & | inShaderPathKey, |
QSSGShaderCache::ShaderType | type, | ||
const QByteArray & | inSource, | ||
const QSSGCustomShaderMetaData & | meta ) |
Definition at line 43 of file qssgrendershaderlibrarymanager.cpp.
TPathDataMap QSSGShaderLibraryManager::m_expandedFiles |
Definition at line 76 of file qssgrendershaderlibrarymanager_p.h.
QByteArray QSSGShaderLibraryManager::m_fragShader |
Definition at line 79 of file qssgrendershaderlibrarymanager_p.h.
QReadWriteLock QSSGShaderLibraryManager::m_lock |
Definition at line 83 of file qssgrendershaderlibrarymanager_p.h.
QHash<QByteArray, QSSGCustomShaderMetaData> QSSGShaderLibraryManager::m_metadata |
Definition at line 77 of file qssgrendershaderlibrarymanager_p.h.
QQsbCollection::EntryMap QSSGShaderLibraryManager::m_preGeneratedShaderEntries |
Definition at line 81 of file qssgrendershaderlibrarymanager_p.h.
QByteArray QSSGShaderLibraryManager::m_vertShader |
Definition at line 78 of file qssgrendershaderlibrarymanager_p.h.