Spinning Topp Logo BlackTopp Studios
inc
Public Member Functions | Protected Attributes | List of all members
Mezzanine::Graphics::Procedural::NormalsModifier Class Reference

A modifier that will convery a greyscale image into a normals map. More...

#include <normalsmodifier.h>

+ Inheritance diagram for Mezzanine::Graphics::Procedural::NormalsModifier:
+ Collaboration diagram for Mezzanine::Graphics::Procedural::NormalsModifier:

Public Member Functions

 NormalsModifier ()
 Blank constructor.
 
virtual ~NormalsModifier ()
 Class destructor.
 
virtual String GetName () const
 Gets the name of this modifier. More...
 
virtual void Modify (TextureBuffer &Buffer)
 Alters the generated pixels in a TextureBuffer. More...
 
NormalsModifierSetAmplify (const UInt8 Amp)
 Unknown. More...
 
- Public Member Functions inherited from Mezzanine::Graphics::Procedural::TextureModifier
 TextureModifier ()
 Blank constructor.
 
virtual ~TextureModifier ()
 Class destructor.
 

Protected Attributes

UInt8 Amplify
 Unknown. More...
 

Detailed Description

A modifier that will convery a greyscale image into a normals map.

Todo:
Document the Amplify member.

Definition at line 83 of file normalsmodifier.h.

Member Function Documentation

String Mezzanine::Graphics::Procedural::NormalsModifier::GetName ( ) const
virtual

Gets the name of this modifier.

Returns
Returns a string containing the name of this modifier.

Implements Mezzanine::Graphics::Procedural::TextureModifier.

Definition at line 157 of file normalsmodifier.cpp.

void Mezzanine::Graphics::Procedural::NormalsModifier::Modify ( TextureBuffer Buffer)
virtual

Alters the generated pixels in a TextureBuffer.

Parameters
BufferThe buffer to be modified.

Implements Mezzanine::Graphics::Procedural::TextureModifier.

Definition at line 90 of file normalsmodifier.cpp.

NormalsModifier & Mezzanine::Graphics::Procedural::NormalsModifier::SetAmplify ( const UInt8  Amp)

Unknown.

Parameters
AmpFull effect of this variable is unknown, however values above 64 will increase the intensity of the normals and values below 64 will decrease them. Initial Value: 64.
Returns
Returns a reference to this.

Definition at line 163 of file normalsmodifier.cpp.

Member Data Documentation

UInt8 Mezzanine::Graphics::Procedural::NormalsModifier::Amplify
protected

Unknown.

Definition at line 88 of file normalsmodifier.h.


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