A collection of assets of type Qt3DRender::QAbstractTexture. More...
Header: | #include <Kuesa/TextureCollection> |
Since: | Kuesa 1.0 |
Inherits: | Kuesa::AbstractAssetCollection |
This class was introduced in Kuesa 1.0.
Qt3DRender::QTextureLoader * | add(const QString &name, const QUrl &source) |
Kuesa::TextureCollection manages a set of Qt3DRender::QAbstractTexture assets.
Utility method to create an instance of Qt3DRender::QTextureLoader for the source and register it in the collection with the name.
The generated instance is parented with the collection and returned to the caller.