virtual void EndFrame() = 0;
EndFrame is called at the end of the frame and releases the data associated with the current frame.