Added generics to RenderSettings