Line | |
---|
1 | struct inputs {
|
---|
2 | float4 position : POSITION;
|
---|
3 | float2 texcoord : TEXCOORD0;
|
---|
4 | float2 texcoord_r : TEXCOORD1;
|
---|
5 | };
|
---|
6 |
|
---|
7 | struct outputs {
|
---|
8 | float4 hposition : POSITION;
|
---|
9 | float2 texcoord : TEXCOORD0;
|
---|
10 | float2 texcoord_r : TEXCOORD1;
|
---|
11 | };
|
---|
12 |
|
---|
13 | outputs main(inputs IN,uniform float recres) {
|
---|
14 | outputs OUT;
|
---|
15 |
|
---|
16 | OUT.hposition.w =1;
|
---|
17 | OUT.hposition =IN.position;
|
---|
18 |
|
---|
19 | OUT.texcoord = IN.texcoord;
|
---|
20 | OUT.texcoord_r = IN.texcoord_r;
|
---|
21 |
|
---|
22 | return OUT;
|
---|
23 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.