Function GetMaterialFog( material_id)
Returns true if fog is enabled for a material
Related:
SetMaterialFog