Extract one channel or create gray image.
More...
#include <ProceduralTextureModifiers.h>
Extract one channel or create gray image.
Reduce given image to a given channel or calculate gray image of it
Examples: SELECT_BLUE
SELECT_GRAY
◆ CANNEL_SELECTION
Enumerator |
---|
SELECT_RED | |
SELECT_GREEN | |
SELECT_BLUE | |
SELECT_ALPHA | |
SELECT_GRAY | |
◆ Channel()
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 |
◆ setSelection()
Set selection.
- Parameters
-
selection | Mode which channel should selected (default SELECT_GRAY) |
◆ 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