(D3D) Pass 'Pass' and 'LinkInfo' by pointer instead of reference