97 static cNormalMapPtr
create() {
return (std::make_shared<cNormalMap>()); }
107 cNormalMapPtr
copy();
116 void flip(
const bool a_flipU,
const bool a_flipV);
125 //------------------------------------------------------------------------------ This class implements a normal map.
Definition: CNormalMap.h:82
std::shared_ptr< cTexture1d > cTexture1dPtr
Definition: CTexture1d.h:67
void flip(const bool a_flipU, const bool a_flipV)
This method flips normals along U and/or V axis.
Definition: CNormalMap.cpp:194
virtual void createMap(cTexture1dPtr a_texture)
This method creates a normal map from a texture object.
Definition: CNormalMap.cpp:112
std::shared_ptr< cNormalMap > cNormalMapPtr
Definition: CNormalMap.h:65
virtual ~cNormalMap()
Destructor of cNormalMap.
Definition: CNormalMap.cpp:70
std::shared_ptr< cImage > cImagePtr
Definition: CImage.h:63
cNormalMapPtr copy()
This method creates a copy of itself.
Definition: CNormalMap.cpp:82
Definition: CAudioBuffer.cpp:56
cNormalMap()
Constructor of cNormalMap.
Definition: CNormalMap.cpp:58
This class implements a 2D texture map.
Definition: CTexture2d.h:84
static cNormalMapPtr create()
Shared cNormalMap allocator.
Definition: CNormalMap.h:97