@@ -673,10 +673,10 @@ class osc::SceneRenderer::Impl final {
673673 graphics::draw (maybe_rims->mesh , maybe_rims->transform , maybe_rims->material , camera_);
674674 }
675675
676- output_rendertexture_ .set_pixel_dimensions (params.device_pixel_ratio * params.dimensions );
677- output_rendertexture_ .set_device_pixel_ratio (params.device_pixel_ratio );
678- output_rendertexture_ .set_anti_aliasing_level (params.anti_aliasing_level );
679- camera_.render_to (output_rendertexture_ );
676+ output_render_texture_ .set_pixel_dimensions (params.device_pixel_ratio * params.dimensions );
677+ output_render_texture_ .set_device_pixel_ratio (params.device_pixel_ratio );
678+ output_render_texture_ .set_anti_aliasing_level (params.anti_aliasing_level );
679+ camera_.render_to (output_render_texture_ );
680680
681681 // prevents copies on next frame
682682 edge_detection_material_.unset (" uScreenTexture" );
@@ -686,7 +686,7 @@ class osc::SceneRenderer::Impl final {
686686
687687 RenderTexture& upd_render_texture ()
688688 {
689- return output_rendertexture_ ;
689+ return output_render_texture_ ;
690690 }
691691
692692private:
@@ -781,7 +781,7 @@ class osc::SceneRenderer::Impl final {
781781 }
782782
783783 // configure the off-screen solid-colored texture
784- rims_rendertexture_ .reformat ({
784+ rims_render_texture_ .reformat ({
785785 .pixel_dimensions = params.device_pixel_ratio * params.dimensions ,
786786 .device_pixel_ratio = params.device_pixel_ratio ,
787787 .anti_aliasing_level = params.anti_aliasing_level ,
@@ -790,15 +790,15 @@ class osc::SceneRenderer::Impl final {
790790 // render to the off-screen solid-colored texture
791791 camera_.render_to (RenderTarget{
792792 RenderTargetColorAttachment{
793- .buffer = rims_rendertexture_ .upd_color_buffer (),
793+ .buffer = rims_render_texture_ .upd_color_buffer (),
794794 },
795795 });
796796
797797 // configure a material that draws the off-screen colored texture on-screen
798798 //
799799 // the off-screen texture is rendered as a quad via an edge-detection kernel
800800 // that transforms the solid shapes into "rims"
801- edge_detection_material_.set (" uScreenTexture" , rims_rendertexture_ .upd_color_buffer ());
801+ edge_detection_material_.set (" uScreenTexture" , rims_render_texture_ .upd_color_buffer ());
802802 static_assert (SceneRendererParams::num_rim_groups () == 2 );
803803 edge_detection_material_.set (" uRim0Color" , params.rim_group_colors [0 ]);
804804 edge_detection_material_.set (" uRim1Color" , params.rim_group_colors [1 ]);
@@ -867,11 +867,11 @@ class osc::SceneRenderer::Impl final {
867867
868868 Mesh quad_mesh_;
869869 Camera camera_;
870- RenderTexture rims_rendertexture_ ;
870+ RenderTexture rims_render_texture_ ;
871871 SharedDepthStencilRenderBuffer shadow_map_render_buffer_{DepthStencilRenderBufferParams{
872872 .pixel_dimensions = {1024 , 1024 },
873873 }};
874- RenderTexture output_rendertexture_ ;
874+ RenderTexture output_render_texture_ ;
875875};
876876
877877
0 commit comments