Versions Compared

Key

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

struct Geo::GeoRGBXTextureElement

A simple CPU 8 bit per channel texture element.

Functions

NameDescription
GEO_PROPERTY(Geo::u8, m_R)

Red channel.

GEO_PROPERTY(Geo::u8, m_G)

Green channel.

GEO_PROPERTY(Geo::u8, m_B)

Blue channel.

GEO_PROPERTY(Geo::u8, m_M)

Maximum channel (for emissive textures); opacity for albedo textures.

Friends

NameDescription
friend void WriteObject(Writer &writer, const GeoRGBXTextureElement &object)

Serialise.


Anchor
a65db6742c0ee9cbe438999957c07eac0
a65db6742c0ee9cbe438999957c07eac0

Geo::GeoRGBXTextureElement::GEO_PROPERTY

...

public: GEO_PROPERTY
(
    Geo::u8 ,
    m_R
)

...

Red channel.


Anchor
a69e991cd7f645244dd075b4513859f07
a69e991cd7f645244dd075b4513859f07

Geo::GeoRGBXTextureElement::GEO_PROPERTY

...

public: GEO_PROPERTY
(
    Geo::u8 ,
    m_G
)

...

Green channel.


Anchor
aebd36870778f3b1ec656ab566ccc8319
aebd36870778f3b1ec656ab566ccc8319

Geo::GeoRGBXTextureElement::GEO_PROPERTY

...

public: GEO_PROPERTY
(
    Geo::u8 ,
    m_B
)

...

Blue channel.


Anchor
a3708f7ce7f748104986c500bcfd6fb39
a3708f7ce7f748104986c500bcfd6fb39

Geo::GeoRGBXTextureElement::GEO_PROPERTY

...

public: GEO_PROPERTY
(
    Geo::u8 ,
    m_M
)

...

Maximum channel (for emissive textures); opacity for albedo textures.