RaytracingRenderer: Minor refactoring.