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) | Serialize. |
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.