Public Member Functions | Public Attributes

sp::tool::LightmapGen::SLightmap Struct Reference

#include <spLightmapGeneratorStructs.hpp>

List of all members.

Public Member Functions

 SLightmap (const dim::size2di &ImageSize, bool UseTexelBuffer=true)
 ~SLightmap ()
video::TexturecreateTexture (const video::color &AmbientColor)
void copyImageBuffers ()
void reduceBleeding ()
dim::point2df getTexCoord (const dim::point2di &RealPos) const
dim::vector3df getAverageColor (s32 X, s32 Y) const
void getAverageColorPart (s32 X, s32 Y, dim::vector3df &Color, s32 &Counter) const
SLightmapTexelgetTexel (s32 X, s32 Y)
const SLightmapTexelgetTexel (s32 X, s32 Y) const
dim::size2di getSize () const
void setupTreeNode (TRectNode *Node)

Public Attributes

dim::size2di Size
SLightmapTexelTexelBuffer
video::TextureTexture
TRectNodeRectNode

Constructor & Destructor Documentation

sp::tool::LightmapGen::SLightmap::SLightmap ( const dim::size2di ImageSize,
bool  UseTexelBuffer = true 
)
sp::tool::LightmapGen::SLightmap::~SLightmap (  ) 

Member Function Documentation

void sp::tool::LightmapGen::SLightmap::copyImageBuffers (  ) 
video::Texture* sp::tool::LightmapGen::SLightmap::createTexture ( const video::color AmbientColor  ) 
dim::vector3df sp::tool::LightmapGen::SLightmap::getAverageColor ( s32  X,
s32  Y 
) const
void sp::tool::LightmapGen::SLightmap::getAverageColorPart ( s32  X,
s32  Y,
dim::vector3df Color,
s32 Counter 
) const
dim::size2di sp::tool::LightmapGen::SLightmap::getSize (  )  const [inline]
dim::point2df sp::tool::LightmapGen::SLightmap::getTexCoord ( const dim::point2di RealPos  )  const
SLightmapTexel& sp::tool::LightmapGen::SLightmap::getTexel ( s32  X,
s32  Y 
) [inline]
const SLightmapTexel& sp::tool::LightmapGen::SLightmap::getTexel ( s32  X,
s32  Y 
) const [inline]
void sp::tool::LightmapGen::SLightmap::reduceBleeding (  ) 
void sp::tool::LightmapGen::SLightmap::setupTreeNode ( TRectNode Node  )  [inline]

Member Data Documentation


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines