1typedef float4 myVec4; 2 3float4 ShaderFunction(float4 input, int ii) : COLOR0 4{ 5 typedef int myInt; 6 myVec4 a1 = myVec4(1.0); 7 myInt i = 2; 8 typedef myInt myInt2; 9 myInt2 j = ii; 10 return input * a1 + myVec4(i + j); 11} 12