set rendering type