Flip the image.
More...
#include <ProceduralTextureModifiers.h>
Flip the image.
Flip the input image on different axis.
Examples: FLIP_POINT
FLIP_VERTICAL
FLIP_HORIZONTAL
◆ FLIP_AXIS
Flip axis selection.
Enumerator |
---|
FLIP_HORIZONTAL | Flip horizontal.
|
FLIP_VERTICAL | Flip vertical.
|
FLIP_POINT | Flip middle.
|
◆ Flip()
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()
◆ setAxis()
Set the axis to flip.
- Parameters
-
axis | Axis where to flip the image arround (default FLIP_VERTICAL) |
◆ 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:
- ProceduralTextureModifiers.h
class to store image data while processing
Definition: ProceduralTextureBuffer.h:50