Material Type Name

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Material Type Name

Post by sudi »

Currently when you register a shadermaterial and it is saved to a scene file it uses the name of the material renderer set. Which doesn't allow one to directly load shader materials from scene files directly. I would like a the following additions to the IVideoDriver
irr::u32 getMaterialTypeCount
const irr::c8* getMaterialTypeName(const irr::u32& id)
E_MATERIAL_TYPE getMaterialType(const irr::u32& id)

and an extra paramter to "add...ShaderMaterial(const irr::c8* name, ...);"
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
Post Reply