7#ifndef QSSG_RENDERER_UTIL_H
8#define QSSG_RENDERER_UTIL_H
21#include <QtQuick3DUtils/private/qssgrenderbasetypes_p.h>
23#include <QtCore/qhashfunctions.h>
24#include <QtCore/qstring.h>
31 return (value + 3) & ~3;
39 explicit QSSGRenderPath(
const QString &p,
const QString &lightmapKey = {})
noexcept
45 bool isNull()
const {
return m_path.isNull(); }
46 bool isEmpty()
const {
return m_path.isEmpty(); }
52 return p1.m_key == p2.m_key
53 && p1.m_path == p2.m_path
54 && p1.m_lightmapKey == p2.m_lightmapKey;
62 return qHash(key.m_key, seed);
66 QString m_lightmapKey;
friend bool operator==(const QSSGRenderPath &p1, const QSSGRenderPath &p2) noexcept
friend bool operator!=(const QSSGRenderPath &p1, const QSSGRenderPath &p2) noexcept
friend size_t qHash(const QSSGRenderPath &key, size_t seed) noexcept
QSSGRenderPath(const QString &p, const QString &lightmapKey={}) noexcept
constexpr quint32 nextMultipleOf4(quint32 value)