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 |
|---|---|
Creates a new GeoRGBXTexture. | |
Gets the height of this texture. | |
If this texture is RGBM encoded, gets the maximum M value. | |
Gets the raw texture data. | |
Gets the raw texture data. | |
Gets the width of this texture. | |
Queries if this texture is RGBM encoded. | |
Load an instance of this class from an IGeoInputStream. | |
Load an instance of this class from an IGeoInputStream. | |
Destroys this GeoRGBXTexture. | |
Free this object that was created within the Enlighten libraries. | |
Save an instance of this class to an IGeoStream. | |
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 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.