class Geo::GeoRGBXTexture
└>Geo::IGeoSerialisable
└>Geo::IGeoReleasable
A simple CPU 8 bit per channel texture.
Functions
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. |
Anchor | ||||
---|---|---|---|---|
|
static GeoRGBXTexture* Geo::GeoRGBXTexture::Create
...
public: GeoRGBXTexture * Create()
...
Creates a new GeoRGBXTexture.
Anchor | ||||
---|---|---|---|---|
|
Geo::s32 Geo::GeoRGBXTexture::GetHeight
...
public: Geo::s32 GetHeight() const
...
Gets the height of this texture.
Anchor | ||||
---|---|---|---|---|
|
float Geo::GeoRGBXTexture::GetMaxM
...
public: float GetMaxM() const
...
If this texture is RGBM encoded, gets the maximum M value.
Anchor | ||||
---|---|---|---|---|
|
const GeoRGBXTextureElement* Geo::GeoRGBXTexture::GetTextureData
...
public: const GeoRGBXTextureElement * GetTextureData() const
...
Gets the raw texture data.
Anchor | ||||
---|---|---|---|---|
|
GeoRGBXTextureElement* Geo::GeoRGBXTexture::GetTextureData
...
public: GeoRGBXTextureElement * GetTextureData()
...
Gets the raw texture data.
Anchor | ||||
---|---|---|---|---|
|
Geo::s32 Geo::GeoRGBXTexture::GetWidth
...
public: Geo::s32 GetWidth() const
...
Gets the width of this texture.
Anchor | ||||
---|---|---|---|---|
|
bool Geo::GeoRGBXTexture::IsRGBMEncoded
...
public: bool IsRGBMEncoded() const
...
Queries if this texture is RGBM encoded.
Anchor | ||||
---|---|---|---|---|
|
virtual bool Geo::GeoRGBXTexture::Load
...
public: virtual bool Load
(
Geo::IGeoInputStream & stream,
Geo::u32 section
)
...
Load an instance of this class from an IGeoInputStream.
The stream must be ready to read from. You can load sections of an object by passing a bitmask representing the desired sections rather than Iff::AllSectionsMask, which will load all sections. It is also safe to call this method on an object multiple times with different section arguments to load multiple parts.
Anchor | ||||
---|---|---|---|---|
|
virtual bool Geo::IGeoSerialisable::Load
...
public: bool Load
(
IGeoInputStream & stream,
Geo::u32 section
)
...
Load an instance of this class from an IGeoInputStream.
The stream must be ready to read from. You can load sections of an object by passing a bitmask representing the desired sections rather than Iff::AllSectionsMask, which will load all sections. It is also safe to call this method on an object multiple times with different section arguments to load multiple parts.
Anchor | ||||
---|---|---|---|---|
|
virtual void Geo::GeoRGBXTexture::Release
...
public: virtual void Release()
...
Destroys this GeoRGBXTexture.
Anchor | ||||
---|---|---|---|---|
|
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)'
Anchor | ||||
---|---|---|---|---|
|
virtual bool Geo::GeoRGBXTexture::Save
...
public: virtual bool Save
(
Geo::IGeoStream & stream,
Geo::u32 section
) const
...
Save an instance of this class to an IGeoStream.
The stream must be ready to write to. You can save sections of an object by passing a bitmask representing the desired sections rather than Iff::AllSectionsMask, which will save all sections that are available.
Anchor | ||||
---|---|---|---|---|
|
virtual bool Geo::IGeoSerialisable::Save
...
public: bool Save
(
IGeoStream & stream,
Geo::u32 section
) const
...
Save an instance of this class to an IGeoStream.
The stream must be ready to write to. You can save sections of an object by passing a bitmask representing the desired sections rather than Iff::AllSectionsMask, which will save all sections that are available.
Anchor | ||||
---|---|---|---|---|
|
void Geo::GeoRGBXTexture::SetTextureData
...
public: void SetTextureData
(
Geo::s32 width,
Geo::s32 height,
const GeoRGBXTextureElement * data,
bool RGBM,
float maxM
)
...
Copies data from the given buffer into this texture.
Anchor | ||||
---|---|---|---|---|
|
bool Geo::GeoRGBXTexture::Write
...
public: bool Write
(
Writer & writer,
Geo::u32 section
) const
...
Write to any type compatible with IffWriter.