Load an image from a resource.
More...
#include <ProceduralTextureGenerator.h>
Load an image from a resource.
Try to load an image from a resource.
Example:
◆ Image()
Default constructor.
- Parameters
-
pBuffer | Image buffer where to store the generated image. |
◆ getName()
Get name of the filter as string.
◆ logMsg()
void Procedural::TextureProcessing::logMsg |
( |
Ogre::String |
msg | ) |
|
|
protectedinherited |
◆ process()
◆ setFile()
Set the colour of the background.
- Parameters
-
filename | Name of an image file to load. |
groupname | Name of the resource group to search for the image |
◆ setLog()
void Procedural::TextureProcessing::setLog |
( |
bool |
enable = true | ) |
|
|
inherited |
Enable/Disable logging.
- Parameters
-
enable | true enables logging of filter actions |
◆ mBuffer
◆ mLog
bool Procedural::TextureProcessing::mLog |
|
protectedinherited |
◆ mName
The documentation for this class was generated from the following file:
- ProceduralTextureGenerator.h
class to store image data while processing
Definition: ProceduralTextureBuffer.h:50