source:
trunk/vizservers/nanovis/NvShader.h
@
750
Last change on this file since 750 was 580, checked in by vrinside, 17 years ago | |
---|---|
File size: 270 bytes |
Line | |
---|---|
1 | #ifndef __NV_SHADER_H__ |
2 | #define __NV_SHADER_H__ |
3 | |
4 | #include <Cg/cg.h> |
5 | #include <Cg/cgGL.h> |
6 | |
7 | class NvShader { |
8 | protected : |
9 | CGprogram _cgVP; |
10 | CGprogram _cgFP; |
11 | |
12 | protected : |
13 | NvShader(); |
14 | |
15 | public : |
16 | virtual ~NvShader(); |
17 | }; |
18 | |
19 | extern CGcontext g_context; |
20 | |
21 | #endif // |
22 |
Note: See TracBrowser
for help on using the repository browser.