Ogre Procedural  0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Procedural::TextureProcessing Class Referenceabstract

base class for material generation classes. More...

#include <ProceduralTextureBuffer.h>

Inheritance diagram for Procedural::TextureProcessing:
Inheritance graph
[legend]

Public Member Functions

 TextureProcessing (TextureBufferPtr pBuffer, Ogre::String name)
 Default constructor. More...
 
virtual TextureBufferPtr process ()=0
 Run processing algorithmus. More...
 
Ogre::String getName ()
 Get name of the filter as string. More...
 
void setLog (bool enable=true)
 Enable/Disable logging. More...
 
virtual ~TextureProcessing ()
 

Protected Member Functions

void logMsg (Ogre::String msg)
 

Protected Attributes

TextureBufferPtr mBuffer
 
Ogre::String mName
 
bool mLog
 

Detailed Description

base class for material generation classes.

Constructor & Destructor Documentation

◆ TextureProcessing()

Procedural::TextureProcessing::TextureProcessing ( TextureBufferPtr  pBuffer,
Ogre::String  name 
)

Default constructor.

Parameters
pBufferImage buffer where to store the generated image.
nameFilter name
Exceptions
Ogre::InvalidParametersExceptionTexture buffer is not set!

◆ ~TextureProcessing()

virtual Procedural::TextureProcessing::~TextureProcessing ( )
virtual

Member Function Documentation

◆ getName()

Ogre::String Procedural::TextureProcessing::getName ( )

Get name of the filter as string.

◆ logMsg()

void Procedural::TextureProcessing::logMsg ( Ogre::String  msg)
protected

◆ process()

virtual TextureBufferPtr Procedural::TextureProcessing::process ( )
pure virtual

◆ setLog()

void Procedural::TextureProcessing::setLog ( bool  enable = true)

Enable/Disable logging.

Parameters
enabletrue enables logging of filter actions

Member Data Documentation

◆ mBuffer

TextureBufferPtr Procedural::TextureProcessing::mBuffer
protected

◆ mLog

bool Procedural::TextureProcessing::mLog
protected

◆ mName

Ogre::String Procedural::TextureProcessing::mName
protected

The documentation for this class was generated from the following file: