Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Enlighten::IPrecompRadiosityNormalTexture

    └>Geo::IGeoReleasable

Handle to the radiosity normal texture.

Functions

NameDescription
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.


Anchor
a05b3d86ae6414653dc7fb603ac3d6efc
a05b3d86ae6414653dc7fb603ac3d6efc

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.


Anchor
ab78b513d439c5ce48a93a7fae7dab5c0
ab78b513d439c5ce48a93a7fae7dab5c0

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

...

public: Geo::s32 GetTextureDataSize() const

...

Returns the texture size in memory.


Anchor
a279fb0bb3da3761b3ab5365505226cb6
a279fb0bb3da3761b3ab5365505226cb6

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

...

public: Geo::s32 GetTextureHeight() const

...

Returns the texture width.


Anchor
a7767b026870c55999679c3a68ac6cff7
a7767b026870c55999679c3a68ac6cff7

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

...

public: Geo::s32 GetTextureWidth() const

...

Returns the texture width.


Anchor
af6bdf30b42adde386c428e9dc2821eb9
af6bdf30b42adde386c428e9dc2821eb9

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)'