This is the documentation for Enlighten.

class Enlighten IPrecompRadiosityNormalTexture

class Enlighten::IPrecompRadiosityNormalTexture

    └>Geo::IGeoReleasable

Handle to the radiosity normal texture.

Functions

Name Description
GetRgbxTextureData()

Read access to the raw array of texture data.

GetTextureDataSize()

Returns the texture size in memory.

GetTextureHeight()

Returns the texture width.

GetTextureWidth()

Returns the texture width.

Release()

Free this object that was created within the Enlighten libraries.


virtual const Geo::GeoRGBXTextureElement* Enlighten::IPrecompRadiosityNormalTexture::GetRgbxTextureData


public: const Geo::GeoRGBXTextureElement * GetRgbxTextureData() const


Read access to the raw array of texture data.

The members of each pixel represent: m_R: x-component of the normal vector. m_G: y-component of the normal vector. m_B: z-component of the normal vector. m_M: "skylight factor" - how much of the environment is visible at this point.


virtual Geo::s32 Enlighten::IPrecompRadiosityNormalTexture::GetTextureDataSize


public: Geo::s32 GetTextureDataSize() const


Returns the texture size in memory.


virtual Geo::s32 Enlighten::IPrecompRadiosityNormalTexture::GetTextureHeight


public: Geo::s32 GetTextureHeight() const


Returns the texture width.


virtual Geo::s32 Enlighten::IPrecompRadiosityNormalTexture::GetTextureWidth


public: Geo::s32 GetTextureWidth() const


Returns the texture width.


virtual void Geo::IGeoReleasable::Release


public: void Release()


Free this object that was created within the Enlighten libraries.

Expect this to behave in a similar way to calling 'delete(this)'