22726e4d |
1 | /****************************************************************************** |
2 | * Arachnoid Graphics Plugin for Mupen64Plus |
3 | * http://bitbucket.org/wahrhaft/mupen64plus-video-arachnoid/ |
4 | * |
5 | * Copyright (C) 2007 Kristofer Karlsson, Rickard Niklasson |
6 | * |
7 | * This program is free software; you can redistribute it and/or |
8 | * modify it under the terms of the GNU General Public License |
9 | * as published by the Free Software Foundation; either version 2 |
10 | * of the License, or (at your option) any later version. |
11 | * |
12 | * This program is distributed in the hope that it will be useful, |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | * GNU General Public License for more details. |
16 | * |
17 | * You should have received a copy of the GNU General Public License |
18 | * along with this program; if not, write to the Free Software |
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
20 | *****************************************************************************/ |
21 | |
22 | #ifndef DUMMY_COMBINER_H_ |
23 | #define DUMMY_COMBINER_H_ |
24 | |
25 | //Include |
26 | #include "CombinerBase.h" //baseclass for combiners |
27 | |
28 | //Forward declarations |
29 | struct TexEnvCombiner; |
30 | struct Combiner; |
31 | |
32 | //***************************************************************************** |
33 | //* Dummy Combiner |
34 | //! Very simple combiner that does as little as possible |
35 | //***************************************************************************** |
36 | class DummyCombiner : public CombinerBase |
37 | { |
38 | public: |
39 | |
40 | //Constructor / Destructor |
41 | DummyCombiner() {} |
42 | ~DummyCombiner() {} |
43 | |
44 | //Initialize |
45 | void initialize(); |
46 | |
47 | //Begin / End Texture Update |
48 | void beginTextureUpdate() {} |
49 | void endTextureUpdate(TexEnvCombiner* texEnv) {} |
50 | |
51 | //Sets texture enviorment colors |
52 | void setTextureEnviromentColors(TexEnvCombiner* texEnv) {} |
53 | |
54 | //Create New Texture Environment |
55 | TexEnvCombiner* createNewTextureEnviroment(Combiner* colorCombiner, Combiner *alphaCombiner); |
56 | |
57 | //Sets texture enviorment |
58 | void setTextureEnviroment(TexEnvCombiner* texEnv); |
59 | |
60 | private: |
61 | |
62 | bool ARB_multitexture; //!< Extension supported? |
63 | |
64 | }; |
65 | |
66 | #endif |