class Geo GeoFp16Texture

This is the documentation for Enlighten.

class Geo GeoFp16Texture

class Geo::GeoFp16Texture

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

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

Classes

Name

Description

Name

Description

Geo::GeoFp16Texture::Pixel

A single pixel in a GeoFp16Texture.

Functions

Name

Description

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.

Release()

Geo::IGeoSerialisable implementation.

Release()

Free this object that was created within the Enlighten libraries.

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.



static Pixel Geo::GeoFp16Texture::CopyRgbaWToRGB


public: Pixel CopyRgbaWToRGB
(
    const Pixel & rgba
)


Conversion function for std::transform and the like.



static GeoFp16Texture* Geo::GeoFp16Texture::Create


public: GeoFp16Texture * Create()


Create a new GeoFp16Texture.