|
Last change
on this file since 11 was
5,
checked in by anonymous, 18 years ago
|
|
=hoffentlich gehts jetzt
|
|
File size:
546 bytes
|
| Line | |
|---|
| 1 | #ifndef _PS10_PROGRAM_H |
|---|
| 2 | #define _PS10_PROGRAM_H |
|---|
| 3 | |
|---|
| 4 | #include "nvparse_errors.h" |
|---|
| 5 | #include "nvparse_externs.h" |
|---|
| 6 | |
|---|
| 7 | #include <string> |
|---|
| 8 | #include <list> |
|---|
| 9 | #include <vector> |
|---|
| 10 | #include <map> |
|---|
| 11 | |
|---|
| 12 | namespace ps10 |
|---|
| 13 | { |
|---|
| 14 | |
|---|
| 15 | struct constdef |
|---|
| 16 | { |
|---|
| 17 | std::string reg; |
|---|
| 18 | float r,g,b,a; |
|---|
| 19 | }; |
|---|
| 20 | |
|---|
| 21 | extern std::map<int, std::pair<int,int> > constToStageAndConstMap; |
|---|
| 22 | extern std::map<int, GLenum> stageToTargetMap; |
|---|
| 23 | void invoke(std::vector<constdef> * c, |
|---|
| 24 | std::list<std::vector<std::string> > * a, |
|---|
| 25 | std::list<std::vector<std::string> > * b); |
|---|
| 26 | |
|---|
| 27 | bool init_extensions(); |
|---|
| 28 | } |
|---|
| 29 | |
|---|
| 30 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.