diff options
Diffstat (limited to 'src/render/texture/qtexturewrapmode.cpp')
-rw-r--r-- | src/render/texture/qtexturewrapmode.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/render/texture/qtexturewrapmode.cpp b/src/render/texture/qtexturewrapmode.cpp index ee831f409..cb9272895 100644 --- a/src/render/texture/qtexturewrapmode.cpp +++ b/src/render/texture/qtexturewrapmode.cpp @@ -108,6 +108,8 @@ void QTextureWrapMode::setX(WrapMode x) } /*! + \property QTextureWrapMode::x + Returns the wrap mode of the x dimension. */ QTextureWrapMode::WrapMode QTextureWrapMode::x() const @@ -117,6 +119,19 @@ QTextureWrapMode::WrapMode QTextureWrapMode::x() const } /*! + \enum Qt3DRender::QTextureWrapMode::WrapMode + + Specifies the type of text wrapping. + Possible values: + + \value Repeat + \value MirroredRepeat + \value ClampToEdge + \value ClampToBorder +*/ + + +/*! Sets the wrap mode of the y dimension to \a y. \note this is not available on 1D textures. */ @@ -130,6 +145,8 @@ void QTextureWrapMode::setY(WrapMode y) } /*! + \property QTextureWrapMode::y + Returns the wrap mode of the y dimension. */ QTextureWrapMode::WrapMode QTextureWrapMode::y() const @@ -152,6 +169,8 @@ void QTextureWrapMode::setZ(WrapMode z) } /*! + \property QTextureWrapMode::z + Returns the wrap mode of the z dimension. */ QTextureWrapMode::WrapMode QTextureWrapMode::z() const |