reverted ignore sampler (should be done at higher level)
added Tools.iter
detect if the shader has texture flags configuration and export this information in ShaderInstance to be usable by engine