TextureImage QML Type
Contains a texture image. More...
Import Statement: | import QtCanvas3D 1.1 |
Since: | QtCanvas3D 1.0 |
Properties
- errorString() : string
- height() : int
- imageState() : TextureImageState
- src() : url
- width() : int
Methods
Detailed Description
Deprecated in Qt 5.12. An uncreatable QML type that contains a texture image created by calling TextureImageFactory::newTexImage() and settings the src
of the image.
See also TextureImageFactory.
Property Documentation
Deprecated in Qt 5.12. Contains the error string if an error happened during image creation.
Deprecated in Qt 5.12. Contains the texture image state. It is one of TextureImage.INITIALIZED
, TextureImage.LOAD_PENDING
, TextureImage.LOADING
, TextureImage.LOADING_FINISHED
or TextureImage.LOADING_ERROR
.
Method Documentation
TextureImage create() |
Deprecated in Qt 5.12. Returns a new texture image.
TextureImage resize(int width, int height) |
Deprecated in Qt 5.12. Returns a copy of the texture image resized to the given width and height.