How "p_render_buffers" work?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By sergkis

Good afternoon. I would like to create my own rendering of 3d models in godot.
After studying the source code, I came to the function RendererSceneCull::_render_scene (render_scene_full::2474). Here, some p_render_buffers received from the Viewport are passed in the parameters. But this is an object of the RID class.
How do I get a real object by this RID? And how do I access this buffer to write my image to it? How is the picture stored there anyway?