Kuesa Runtime

TextureImageCollection Class

class Kuesa::TextureImageCollection

A collection of assets of type Qt3DRender::QAbstractTextureImage. More...

Header: #include <Kuesa/TextureImageCollection>
Since: Kuesa 1.0
Inherits: Kuesa::AbstractAssetCollection

This class was introduced in Kuesa 1.0.

Public Functions

Qt3DRender::QTextureImage *add(const QString &name, const QUrl &source)

Detailed Description

Kuesa::TextureImageCollection manages a set of Qt3DRender::QAbstractTextureImage assets.

Member Function Documentation

Qt3DRender::QTextureImage *TextureImageCollection::add(const QString &name, const QUrl &source)

Utility method to create an instance of Qt3DRender::QTextureImage 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.