Copy pixels from base input (x, y) to given coordinates from parameter image (red, green).
More...
#include <ProceduralTextureModifiers.h>
Copy pixels from base input (x, y) to given coordinates from parameter image (red, green).
Use the red and green value of the parameter image as coordinates for colour painting.
Example:
◆ Lookup()
Default constructor.
- Parameters
-
pBuffer | Image buffer where to modify the image. |
◆ getName()
Get name of the filter as string.
◆ logMsg()
void Procedural::TextureProcessing::logMsg |
( |
Ogre::String |
msg | ) |
|
|
protectedinherited |
◆ process()
◆ setLog()
void Procedural::TextureProcessing::setLog |
( |
bool |
enable = true | ) |
|
|
inherited |
Enable/Disable logging.
- Parameters
-
enable | true enables logging of filter actions |
◆ setParameterImage()
Set parameter image for coordinates mapping.
- Parameters
-
image | Pointer to second image (default NULL) |
- Note
- If the parameter image is set to NULL there won't be any image manipulation.
◆ mBuffer
◆ mLog
bool Procedural::TextureProcessing::mLog |
|
protectedinherited |
◆ mName
The documentation for this class was generated from the following file:
- ProceduralTextureModifiers.h
Gradient & setColours(Ogre::ColourValue colourA, Ogre::ColourValue colourB, Ogre::ColourValue colourC, Ogre::ColourValue colourD)
Sets the colours of the image corners.
Copy pixels from base input (x, y) to given coordinates from parameter image (red,...
Definition: ProceduralTextureModifiers.h:1974
class to store image data while processing
Definition: ProceduralTextureBuffer.h:50