source: OGRE/trunk/ogrenew/RenderSystems/GL/src/nvparse/rc1.0_combiners.h @ 692

Revision 692, 772 bytes checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

Line 
1#ifndef _RC10_COMBINERS_H
2#define _RC10_COMBINERS_H
3
4#include "rc1.0_general.h"
5#include "rc1.0_final.h"
6
7class CombinersStruct {
8public:
9        void Init(GeneralCombinersStruct _gcs, FinalCombinerStruct _fc, ConstColorStruct _cc0, ConstColorStruct _cc1)
10        { generals = _gcs; final = _fc; cc[0] = _cc0; cc[1] = _cc1; numConsts = 2;}
11        void Init(GeneralCombinersStruct _gcs, FinalCombinerStruct _fc, ConstColorStruct _cc0)
12        { generals = _gcs; final = _fc; cc[0] = _cc0; numConsts = 1;}
13        void Init(GeneralCombinersStruct _gcs, FinalCombinerStruct _fc)
14        { generals = _gcs; final = _fc; numConsts = 0;}
15        void Validate();
16        void Invoke();
17private:
18        GeneralCombinersStruct generals;
19        FinalCombinerStruct final;
20        ConstColorStruct cc[2];
21        int numConsts;
22};
23
24#endif
Note: See TracBrowser for help on using the repository browser.