Mock up of how compositor material would work:
shader_type compositor;
// The custom buffers from the Compositor proposal are all available for reading and writing
// Available render modes
render_mode post_opaque, post_alpha, post_tonemap; // default is post_alpha
//uniform sampler2D buffer_texture0 : hint_custom_buffer0_texture, repeat_disable, filter_nearest;