It's functionally equivalent to gtk_widget_get_render_node() but uses a GtkSnapshot argument to carry the state.