passing transforms to hlsl