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. |
Anchor | ||||
---|---|---|---|---|
|
Geo::GeoRGBXTextureElement::GEO_PROPERTY
...
public: GEO_PROPERTY
(
Geo::u8 ,
m_R
)
...
Red channel.
Anchor | ||||
---|---|---|---|---|
|
Geo::GeoRGBXTextureElement::GEO_PROPERTY
...
public: GEO_PROPERTY
(
Geo::u8 ,
m_G
)
...
Green channel.
Anchor | ||||
---|---|---|---|---|
|
Geo::GeoRGBXTextureElement::GEO_PROPERTY
...
public: GEO_PROPERTY
(
Geo::u8 ,
m_B
)
...
Blue channel.
Anchor | ||||
---|---|---|---|---|
|
Geo::GeoRGBXTextureElement::GEO_PROPERTY
...
public: GEO_PROPERTY
(
Geo::u8 ,
m_M
)
...
Maximum channel (for emissive textures); opacity for albedo textures.