RenderContext class for rendering context incapsulation