Implement render_target_was_used API so that Viewports can properly check if they have been used.
ShaderData