class Geo::GeoFp16Texture
└>Geo::IGeoSerialisable
└>Geo::IGeoReleasable
A (16 bit) floating point texture for input and output.
Classes
Name | Description |
---|---|
Geo::GeoFp16Texture::Pixel | A single pixel in a GeoFp16Texture. |
Functions
Name | Description |
---|---|
CopyRgbaWToRGB(const Pixel &) | Conversion function for std::transform and the like. |
Create() | Create a new GeoFp16Texture. |
ExtractFloatPixelData(float *) | Copies the data of this texture into the given buffer. |
ExtractMonoFloatPixelData(float *, Geo::s32) | Copies the data from the given buffer into this texture. |
GetData() | Gets the raw data of this texture. |
GetData() | Gets the raw data of this texture. |
GetHeight() | Gets the width/height of this texture. |
GetWidth() | Gets the width/height of this texture. |
Load(Geo::IGeoInputStream &, Geo::u32) | Geo::IGeoSerialisable implementation. |
Load(IGeoInputStream &, Geo::u32) | Load an instance of this class from an IGeoInputStream. |
NonCopyable(NonCopyable &&) | Defaulted to allow move. |
operator=(NonCopyable &&) | Defaulted to allow move. |
Release() | Free this object that was created within the Enlighten libraries. |
Release() | Geo::IGeoSerialisable implementation. |
Save(Geo::IGeoStream &, Geo::u32) | Geo::IGeoSerialisable implementation. |
Save(IGeoStream &, Geo::u32) | Save an instance of this class to an IGeoStream. |
SetMonoPixelData(const float *) | Copies the data from the given buffer into this texture. |
SetResolution(Geo::s32, Geo::s32) | Sets the resolution. |
SetRgbaPixelData(const Geo::u32 *) | Copies the data from the given buffer into this texture. |
SetRgbaPixelData(const float *) | Copies the data from the given buffer into this texture. |
SetRgbaPixelDataFromRgbm(const Geo::GeoRGBXTextureElement *, float) | Copies the data from the given buffer into this texture. |
Anchor | ||||
---|---|---|---|---|
|
static Pixel Geo::GeoFp16Texture::CopyRgbaWToRGB
...
public: Pixel CopyRgbaWToRGB
(
const Pixel & rgba
)
...
Conversion function for std::transform and the like.
Anchor | ||||
---|---|---|---|---|
|
static GeoFp16Texture* Geo::GeoFp16Texture::Create
...
public: GeoFp16Texture * Create()
...
Create a new GeoFp16Texture.
Anchor | ||||
---|---|---|---|---|
|
bool Geo::GeoFp16Texture::ExtractFloatPixelData
...
public: bool ExtractFloatPixelData
(
float * pDataOut
) const
...
Copies the data of this texture into the given buffer.
Anchor | ||||
---|---|---|---|---|
|
bool Geo::GeoFp16Texture::ExtractMonoFloatPixelData
...
public: bool ExtractMonoFloatPixelData
(
float * pDataOut,
Geo::s32 channelIdx
) const
...
Copies the data from the given buffer into this texture.
Anchor | ||||
---|---|---|---|---|
|
Pixel* Geo::GeoFp16Texture::GetData
...
public: Pixel * GetData()
...
Gets the raw data of this texture.
Anchor | ||||
---|---|---|---|---|
|
const Pixel* Geo::GeoFp16Texture::GetData
...
public: const Pixel * GetData() const
...
Gets the raw data of this texture.
Anchor | ||||
---|---|---|---|---|
|
Geo::s32 Geo::GeoFp16Texture::GetHeight
...
public: Geo::s32 GetHeight() const
...
Gets the width/height of this texture.
Anchor | ||||
---|---|---|---|---|
|
Geo::s32 Geo::GeoFp16Texture::GetWidth
...
public: Geo::s32 GetWidth() const
...
Gets the width/height of this texture.
Anchor | ||||
---|---|---|---|---|
|
virtual bool Geo::GeoFp16Texture::Load
...
public: virtual bool Load
(
Geo::IGeoInputStream & stream,
Geo::u32 section
)
...
Geo::IGeoSerialisable implementation.
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 | ||||
---|---|---|---|---|
|
Geo::NonCopyable::NonCopyable
...
public: NonCopyable
(
NonCopyable &&
)
...
Defaulted to allow move.
Anchor | ||||
---|---|---|---|---|
|
NonCopyable& Geo::NonCopyable::operator=
...
public: NonCopyable & operator=
(
NonCopyable &&
)
...
Defaulted to allow move.
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 void Geo::GeoFp16Texture::Release
...
public: virtual void Release()
...
Geo::IGeoSerialisable implementation.
Anchor | ||||
---|---|---|---|---|
|
virtual bool Geo::GeoFp16Texture::Save
...
public: virtual bool Save
(
Geo::IGeoStream & stream,
Geo::u32 section
) const
...
Geo::IGeoSerialisable implementation.
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 | ||||
---|---|---|---|---|
|
bool Geo::GeoFp16Texture::SetMonoPixelData
...
public: bool SetMonoPixelData
(
const float * pData
)
...
Copies the data from the given buffer into this texture.
Anchor | ||||
---|---|---|---|---|
|
bool Geo::GeoFp16Texture::SetResolution
...
public: bool SetResolution
(
Geo::s32 x,
Geo::s32 y
)
...
Sets the resolution.
Anchor | ||||
---|---|---|---|---|
|
bool Geo::GeoFp16Texture::SetRgbaPixelData
...
public: bool SetRgbaPixelData
(
const Geo::u32 * pData
)
...
Copies the data from the given buffer into this texture.
Anchor | ||||
---|---|---|---|---|
|
bool Geo::GeoFp16Texture::SetRgbaPixelData
...
public: bool SetRgbaPixelData
(
const float * pData
)
...
Copies the data from the given buffer into this texture.
Anchor | ||||
---|---|---|---|---|
|
bool Geo::GeoFp16Texture::SetRgbaPixelDataFromRgbm
...
public: bool SetRgbaPixelDataFromRgbm
(
const Geo::GeoRGBXTextureElement * pData,
float maxM
)
...
Copies the data from the given buffer into this texture.