1struct OutParam { 2 float2 v; 3 int2 i; 4}; 5 6void fun(out OutParam op) 7{ 8 op.v = float2(0.4); 9 op.i = int2(7); 10} 11 12float4 PixelShaderFunction(float4 input, out float4 out1, out OutParam out2, out OutParam out3) : COLOR0 13{ 14 out1 = input; 15 out2.v = 2.0; 16 out2.i = 3; 17 OutParam local; 18 local.v = 12.0; 19 local.i = 13; 20 fun(out3); 21 22 return out1; 23} 24