virtual long getTextureLayersCount(bool bIncludeInherited=false)=0;

Description

Provides amount of texture layers on material. Method can provide absolute amount of texture layers (including inherited) if bIncludeInherited argument is set to true.

Return value

Amount of texture layers set on material (can include inherited layers).

Parameters:
bIncludeInherited
Specifies whether inherited layers should also be counted (true) or only current material layers are in a question (false).
See Also:
Interface overview and methods
getTextureLayer method
setTextureLayer method