Inheritance diagram for DzTexture:
Methods | |
String | getFilename () |
Size | getGLTextureSize () |
String | getTempFilename () |
void | refresh () |
Signals | |
void | drawnDataChanged () |
Signature: "drawnDataChanged()" | |
void | tempFilenameChanged (String filename) |
Signature: "tempFilenameChanged(const QString&)" |
This is a sharable object that stores information for an texture (image map) that is used in OpenGL. Do not create a texture, rather, request one from DzImageMgr - this insures that there is only one instance of a given image in memory at a time, and also ensures that necessary conversions for rendering the image via OpenGL and offline renderers occurs correctly.
void DzTexture::drawnDataChanged | ( | ) | [signal] |
Signature: "drawnDataChanged()"
Emitted when the data of the texture has changed - e.g. after a call to refresh()
String DzTexture::getFilename | ( | ) |
Size DzTexture::getGLTextureSize | ( | ) |
String DzTexture::getTempFilename | ( | ) |
void DzTexture::refresh | ( | ) |
Reloads the image if its source file has changed
DzTexture::tempFilenameChanged | ( | String | filename | ) | [signal] |
Signature: "tempFilenameChanged(const QString&)"
Emitted when the temp filename for the image has changed