class Geo GeoRGBXTexture

This is the documentation for Enlighten.

class Geo GeoRGBXTexture

class Geo::GeoRGBXTexture

    └>Geo::IGeoSerialisable
        └>Geo::IGeoReleasable

A simple CPU 8 bit per channel texture.

Functions

Name

Description

Name

Description

Create()

Creates a new GeoRGBXTexture.

GetHeight()

Gets the height of this texture.

GetMaxM()

If this texture is RGBM encoded, gets the maximum M value.

GetTextureData()

Gets the raw texture data.

GetTextureData()

Gets the raw texture data.

GetWidth()

Gets the width of this texture.

IsRGBMEncoded()

Queries if this texture is RGBM encoded.

Load(Geo::IGeoInputStream &, Geo::u32)

Load an instance of this class from an IGeoInputStream.

Load(IGeoInputStream &, Geo::u32)

Load an instance of this class from an IGeoInputStream.

Release()

Destroys this GeoRGBXTexture.

Release()

Free this object that was created within the Enlighten libraries.

Save(Geo::IGeoStream &, Geo::u32)

Save an instance of this class to an IGeoStream.

Save(IGeoStream &, Geo::u32)

Save an instance of this class to an IGeoStream.

SetTextureData(Geo::s32, Geo::s32, const GeoRGBXTextureElement *, bool, float)

Copies data from the given buffer into this texture.

Write(Writer &, Geo::u32)

Write to any type compatible with IffWriter.



static GeoRGBXTexture* Geo::GeoRGBXTexture::Create


public: GeoRGBXTexture * Create()


Creates a new GeoRGBXTexture.



Geo::s32 Geo::GeoRGBXTexture::GetHeight


public: Geo::s32 GetHeight() const


Gets the height of this texture.



float Geo::GeoRGBXTexture::GetMaxM


public: float GetMaxM() const


If this texture is RGBM encoded, gets the maximum M value.



const GeoRGBXTextureElement* Geo::GeoRGBXTexture::GetTextureData


public: const GeoRGBXTextureElement * GetTextureData() const


Gets the raw texture data.