Line | |
---|
1 |
|
---|
2 | struct PS_INPUT
|
---|
3 | {
|
---|
4 | float4 color :TEXCOORD0;
|
---|
5 | };
|
---|
6 |
|
---|
7 |
|
---|
8 | struct PS_OUTPUT
|
---|
9 | {
|
---|
10 | float4 color: COLOR0;
|
---|
11 | };
|
---|
12 |
|
---|
13 | ///////////////////////////////////////////////////////////////////////////////
|
---|
14 |
|
---|
15 | sampler tex0: register(s0);
|
---|
16 |
|
---|
17 | ///////////////////////////////////////////////////////////////////////////////
|
---|
18 | // Pixelshader
|
---|
19 | // Profile: 3x0
|
---|
20 |
|
---|
21 |
|
---|
22 |
|
---|
23 | PS_OUTPUT main(PS_INPUT input)
|
---|
24 | {
|
---|
25 | PS_OUTPUT output;
|
---|
26 | output.color = input.color;
|
---|
27 | return output;
|
---|
28 | }
|
---|
29 |
|
---|
30 | ///////////////////////////////////////////////////////////////////////////////
|
---|
Note: See
TracBrowser
for help on using the repository browser.