Fills full image with given colour.
More...
#include <ProceduralTextureGenerator.h>
Fills full image with given colour.
Set all pixel to the same color.
Example:
◆ Solid()
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()
◆ setColour() [1/2]
Sets the fill colour of the image.
- Parameters
-
◆ setColour() [2/2]
Sets the fill colour of the image.
- Parameters
-
red | Red value [0.0, 1.0] (default 0.0) |
green | Green value [0.0, 1.0] (default 0.0) |
blue | Blue value [0.0, 1.0] (default 0.0) |
alpha | Alpha value [0.0, 1.0] (default 1.0) |
◆ 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