Saved resource context of renderer components so components can be inspected for inputs and outputs after the fact

Signed-off-by: Martin Evans <martindevans@gmail.com>