Gfx: Wrap pointers with std::unique_ptr