29 Q_PROPERTY(QList<QUrl> meshSources READ meshSources WRITE setMeshSources NOTIFY meshSourcesChanged)
38 void setMeshSources(const
QList<
QUrl> &newMeshSources);
42 void meshSourcesChanged();
45 void onGeometryDestroyed(
QObject *
object);
46 void onTextureDestroyed(
QObject *
object);
49 void markAllDirty() override;
50 void itemChange(ItemChange change, const ItemChangeData &
value) override;
63 enum ResourceLoaderDirtyType {
64 MeshesDirty = 0x00000001,
65 TexturesDirty = 0x00000002,
66 GeometriesDirty = 0x00000004
70 quint32 m_dirtyAttributes = 0xffffffff;
71 void markDirty(ResourceLoaderDirtyType
type);
74 QList<QUrl> m_meshSources;
75 QList<QQuick3DGeometry *> m_geometries;
76 QList<QQuick3DTexture *> m_textures;