Versions Compared

Key

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

class Geo::GeoFp16Texture

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

A (16 bit) floating point texture for input and output.

Classes

NameDescription
Geo::GeoFp16Texture::Pixel

A single pixel in a GeoFp16Texture.

Functions

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

static Pixel Geo::GeoFp16Texture::CopyRgbaWToRGB

...

public: Pixel CopyRgbaWToRGB
(
    const Pixel & rgba
)

...

Conversion function for std::transform and the like.


Anchor
aea481ed750f5ff8009caa8f7be04c2b6
aea481ed750f5ff8009caa8f7be04c2b6

static GeoFp16Texture* Geo::GeoFp16Texture::Create

...

public: GeoFp16Texture * Create()

...

Create a new GeoFp16Texture.


Anchor
a504eed597ad6cbd7e777a1174dc72ad2
a504eed597ad6cbd7e777a1174dc72ad2

bool Geo::GeoFp16Texture::ExtractFloatPixelData

...

public: bool ExtractFloatPixelData
(
    float * pDataOut
) const

...

Copies the data of this texture into the given buffer.


Anchor
adb2665faa4b3e40fe18dc28aa987e5ac
adb2665faa4b3e40fe18dc28aa987e5ac

bool Geo::GeoFp16Texture::ExtractMonoFloatPixelData

...

public: bool ExtractMonoFloatPixelData
(
    float * pDataOut,
    Geo::s32 channelIdx
) const

...

Copies the data from the given buffer into this texture.


Anchor
a1222d203e2fb11d68af24dad85edc19b
a1222d203e2fb11d68af24dad85edc19b

Pixel* Geo::GeoFp16Texture::GetData

...

public: Pixel * GetData()

...

Gets the raw data of this texture.


Anchor
a6aca63332958b96a0678a07bc522873c
a6aca63332958b96a0678a07bc522873c

const Pixel* Geo::GeoFp16Texture::GetData

...

public: const Pixel * GetData() const

...

Gets the raw data of this texture.


Anchor
ad39b9a9c9904cf3ba4d4dc8e17e76648
ad39b9a9c9904cf3ba4d4dc8e17e76648

Geo::s32 Geo::GeoFp16Texture::GetHeight

...

public: Geo::s32 GetHeight() const

...

Gets the width/height of this texture.


Anchor
ab9373ddd5922c38c74205ab74a1fc88f
ab9373ddd5922c38c74205ab74a1fc88f

Geo::s32 Geo::GeoFp16Texture::GetWidth

...

public: Geo::s32 GetWidth() const

...

Gets the width/height of this texture.


Anchor
a8dd6ae1dc36584a70beba0aa4aa3fc62
a8dd6ae1dc36584a70beba0aa4aa3fc62

virtual bool Geo::GeoFp16Texture::Load

...

public: virtual bool Load
(
    Geo::IGeoInputStream & stream,
    Geo::u32 section
)

...

Geo::IGeoSerialisable implementation.


Anchor
ae5fb810c8f4470cb3c9fcb16c6f7f7fe
ae5fb810c8f4470cb3c9fcb16c6f7f7fe

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
adaed81b4c59f263dcb4e78c4126f4683
adaed81b4c59f263dcb4e78c4126f4683

Geo::NonCopyable::NonCopyable

...

public: NonCopyable
(
    NonCopyable &&
)

...

Defaulted to allow move.


Anchor
a6abc781e23b8f4864e0b868806e0acbf
a6abc781e23b8f4864e0b868806e0acbf

NonCopyable& Geo::NonCopyable::operator=

...

public: NonCopyable & operator=
(
    NonCopyable &&
)

...

Defaulted to allow move.


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


Anchor
a7418829c3f0eed6724944367c38e39e8
a7418829c3f0eed6724944367c38e39e8

virtual void Geo::GeoFp16Texture::Release

...

public: virtual void Release()

...

Geo::IGeoSerialisable implementation.


Anchor
a2f44c10f1e482601a378f1e5cd6ace66
a2f44c10f1e482601a378f1e5cd6ace66

virtual bool Geo::GeoFp16Texture::Save

...

public: virtual bool Save
(
    Geo::IGeoStream & stream,
    Geo::u32 section
) const

...

Geo::IGeoSerialisable implementation.


Anchor
a5b03439626a3dac9b9c27feb1a3978d3
a5b03439626a3dac9b9c27feb1a3978d3

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
a423a440c864f96b4fa925afd56663a8b
a423a440c864f96b4fa925afd56663a8b

bool Geo::GeoFp16Texture::SetMonoPixelData

...

public: bool SetMonoPixelData
(
    const float * pData
)

...

Copies the data from the given buffer into this texture.


Anchor
a8433a9d4dad19130a1543716d32811c7
a8433a9d4dad19130a1543716d32811c7

bool Geo::GeoFp16Texture::SetResolution

...

public: bool SetResolution
(
    Geo::s32 x,
    Geo::s32 y
)

...

Sets the resolution.


Anchor
ae4f85a8a6af408402620979b7513cd20
ae4f85a8a6af408402620979b7513cd20

bool Geo::GeoFp16Texture::SetRgbaPixelData

...

public: bool SetRgbaPixelData
(
    const Geo::u32 * pData
)

...

Copies the data from the given buffer into this texture.


Anchor
aa0a0e5f3925ac87d19b237f12a80c2ad
aa0a0e5f3925ac87d19b237f12a80c2ad

bool Geo::GeoFp16Texture::SetRgbaPixelData

...

public: bool SetRgbaPixelData
(
    const float * pData
)

...

Copies the data from the given buffer into this texture.


Anchor
a162934252eab01fadeecc7f539c858fd
a162934252eab01fadeecc7f539c858fd

bool Geo::GeoFp16Texture::SetRgbaPixelDataFromRgbm

...

public: bool SetRgbaPixelDataFromRgbm
(
    const Geo::GeoRGBXTextureElement * pData,
    float maxM
)

...

Copies the data from the given buffer into this texture.