virtual ZRESULT getMaterial(long nIndex, rend::IMaterial** ppMat)=0;

Description

Provides material given it's zero-based index.

Parameters:
nIndex
Zero-based index of material to get interface pointer to.
ppMat
Ret-val argument with requested interface. Not NULL.
See Also:
Interface overview and methods
setMaterial method
rend::IMaterial interface