// This is C2E2f_passthru from "The Cg Tutorial" (Addison-Wesley, ISBN // 0321194969) by Randima Fernando and Mark J. Kilgard. See page 53. struct fregm_Output { float4 color : COLOR; }; fregm_Output fregm_shader( float2 texCoord : TEXCOORD0, float4 color : COLOR) { fregm_Output OUT; OUT.color = color; return OUT; }