This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

struct Geo::GeoRGBXTextureElement

A simple CPU 8 bit per channel texture element.

Functions

Name Description
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

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

Serialise.


Geo::GeoRGBXTextureElement::GEO_PROPERTY


public: GEO_PROPERTY
(
    Geo::u8 ,
    m_R
)


Red channel.


Geo::GeoRGBXTextureElement::GEO_PROPERTY


public: GEO_PROPERTY
(
    Geo::u8 ,
    m_G
)


Green channel.


Geo::GeoRGBXTextureElement::GEO_PROPERTY


public: GEO_PROPERTY
(
    Geo::u8 ,
    m_B
)


Blue channel.


Geo::GeoRGBXTextureElement::GEO_PROPERTY


public: GEO_PROPERTY
(
    Geo::u8 ,
    m_M
)


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

  • No labels