diff options
author | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-06-25 03:00:19 +0200 |
---|---|---|
committer | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-06-25 03:00:19 +0200 |
commit | e1bc96d56aee73ddb93799d57520234306fa785d (patch) | |
tree | da94b2ca97934923aefef3647a26e2624513bc1e /src/render/texture | |
parent | c166f615647b1e0635ad109e18ddc2870819421b (diff) | |
parent | 08bcfc398d51e0e23783a4f02623e5b27e675092 (diff) |
Merge remote-tracking branch 'origin/5.13' into dev
Change-Id: Ib1f5677a99f63b15c3990fea130c8bbe946f31ff
Diffstat (limited to 'src/render/texture')
-rw-r--r-- | src/render/texture/qabstracttexture.cpp | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/src/render/texture/qabstracttexture.cpp b/src/render/texture/qabstracttexture.cpp index e1b9cc0bb..399314f24 100644 --- a/src/render/texture/qabstracttexture.cpp +++ b/src/render/texture/qabstracttexture.cpp @@ -425,7 +425,7 @@ void QAbstractTexture::setDepth(int depth) } /*! - * \return the width of the texture + * Returns the width of the texture */ int QAbstractTexture::width() const { @@ -434,7 +434,7 @@ int QAbstractTexture::width() const } /*! - * \return the height of the texture + * Returns the height of the texture */ int QAbstractTexture::height() const { @@ -443,7 +443,7 @@ int QAbstractTexture::height() const } /*! - * \return the depth of the texture + * Returns the depth of the texture */ int QAbstractTexture::depth() const { @@ -473,7 +473,7 @@ void QAbstractTexture::setLayers(int layers) } /*! - \return the maximum number of layers for the texture provider. + Returns the maximum number of layers for the texture provider. \note this has a meaning only for texture providers that have 3D or array target formats. @@ -506,7 +506,7 @@ void QAbstractTexture::setSamples(int samples) } /*! - \return the number of samples per texel for the texture provider. + Returns the number of samples per texel for the texture provider. \note this has a meaning only for texture providers that have multisample formats. @@ -600,7 +600,7 @@ void QAbstractTexture::setHandleType(QAbstractTexture::HandleType type) } /*! - * \return the current status of the texture provider. + * Returns the current status of the texture provider. */ QAbstractTexture::Status QAbstractTexture::status() const { @@ -702,7 +702,7 @@ void QAbstractTexture::removeTextureImage(QAbstractTextureImage *textureImage) } /*! - \return a list of pointers to QAbstractTextureImage objects contained in + Returns a list of pointers to QAbstractTextureImage objects contained in the texture provider. */ QVector<QAbstractTextureImage *> QAbstractTexture::textureImages() const @@ -856,7 +856,7 @@ void QAbstractTexture::setMaximumAnisotropy(float anisotropy) } /*! - * \return the current maximum anisotropy + * Returns the current maximum anisotropy */ float QAbstractTexture::maximumAnisotropy() const { @@ -865,7 +865,7 @@ float QAbstractTexture::maximumAnisotropy() const } /*! - \property Qt3DRender::QAbstractTexture::comparisonFunction + \property Qt3DRender::QAbstractTexture::ComparisonFunction Holds the comparison function of the texture provider. */ @@ -882,7 +882,7 @@ void QAbstractTexture::setComparisonFunction(QAbstractTexture::ComparisonFunctio } /*! - * \return the current comparison function. + * Returns the current comparison function. */ QAbstractTexture::ComparisonFunction QAbstractTexture::comparisonFunction() const { @@ -891,7 +891,7 @@ QAbstractTexture::ComparisonFunction QAbstractTexture::comparisonFunction() cons } /*! - \property Qt3DRender::QAbstractTexture::comparisonMode + \property Qt3DRender::QAbstractTexture::ComparisonMode Holds the comparison mode of the texture provider. */ @@ -908,7 +908,7 @@ void QAbstractTexture::setComparisonMode(QAbstractTexture::ComparisonMode mode) } /*! - * \return the current comparison mode. + * Returns the current comparison mode. */ QAbstractTexture::ComparisonMode QAbstractTexture::comparisonMode() const { @@ -917,7 +917,7 @@ QAbstractTexture::ComparisonMode QAbstractTexture::comparisonMode() const } /*! - * \return the current data generator. + * Returns the current data generator. */ QTextureGeneratorPtr QAbstractTexture::dataGenerator() const { @@ -1023,6 +1023,9 @@ Qt3DCore::QNodeCreatedChangeBasePtr QAbstractTexture::createNodeCreationChange() return creationChange; } +/*! + A function for receiving and processing a \a change. +*/ void QAbstractTexture::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change) { switch (change->type()) { |