Umbra::MaterialData class

Data for creating a material.

Each material consists of a number of textures, each describing some aspect of the material.

Constructors, destructors, conversion operators

MaterialData()

Public variables

bool transparent
If set, any mesh using the material should be treated as transparent.
UserPointer textures
UserPointer to all textures required by this material, indexed by their TextureType

Variable details

bool Umbra::MaterialData::transparent

If set, any mesh using the material should be treated as transparent.

In general, transparent objects should be rendered with alpha blending in back-to-front order, though this may vary based on the rendering implementation