Dimension-and-format-dependent texture image, used as a returned type by Texturizer.
More...
#include <Rendering/SceneComponents/Models/textureimage.h>
◆ Format
◆ TextureImage() [1/2]
◆ TextureImage() [2/2]
◆ cacheKey()
qint64 cacheKey |
( |
| ) |
const |
|
inline |
- Returns
- A cache key which is unique for a given image, or zero if the image is not valid.
◆ getDimensions()
unsigned getDimensions |
( |
| ) |
const |
|
inline |
- Returns
- The number of dimensions for the texture image. If this value is zero, the object does not refer to an image that can be used for anything and getImage() will most likely return a null pointer.
◆ getFormat()
- Returns
- The format that the texture is in.
◆ getImage()
const T * getImage |
( |
| ) |
const |
|
inline |
◆ isValid()
- Returns
- True if the object has been set with an image of at least one dimension.
◆ setFormat()
Specifies the format that the texture is to be accessed with. By default, the format will be RGBA.