Pass presunut do RenderListener. Vytvorena trida MaterialManager