~ubuntu-branches/ubuntu/maverick/blender/maverick

« back to all changes in this revision

Viewing changes to source/gameengine/Rasterizer/RAS_IRenderTools.h

  • Committer: Bazaar Package Importer
  • Author(s): Khashayar Naderehvandi, Khashayar Naderehvandi, Alessio Treglia
  • Date: 2009-01-22 16:53:59 UTC
  • mfrom: (14.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090122165359-v0996tn7fbit64ni
Tags: 2.48a+dfsg-1ubuntu1
[ Khashayar Naderehvandi ]
* Merge from debian experimental (LP: #320045), Ubuntu remaining changes:
  - Add patch correcting header file locations.
  - Add libvorbis-dev and libgsm1-dev to Build-Depends.
  - Use avcodec_decode_audio2() in source/blender/src/hddaudio.c

[ Alessio Treglia ]
* Add missing previous changelog entries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * $Id: RAS_IRenderTools.h 14629 2008-04-30 19:58:44Z ben2610 $
 
2
 * $Id: RAS_IRenderTools.h 16366 2008-09-04 20:51:28Z blendix $
3
3
 *
4
4
 * ***** BEGIN GPL LICENSE BLOCK *****
5
5
 *
44
44
{
45
45
 
46
46
protected:
47
 
        float   m_viewmat[16];
48
47
        void*   m_clientobject;
49
48
        void*   m_auxilaryClientInfo;
50
49
 
51
 
        bool    m_modified;
52
 
        
53
50
        std::vector<struct      RAS_LightObject*> m_lights;
54
51
        
55
52
        RAS_2DFilterManager m_filtermanager;
68
65
 
69
66
        RAS_IRenderTools(
70
67
        ) :
71
 
                m_clientobject(NULL),
72
 
                m_modified(true)
 
68
                m_clientobject(NULL)
73
69
        {
74
70
        };
75
71
 
131
127
                float v1[3],
132
128
                float v2[3],
133
129
                float v3[3],
134
 
                float v4[3]
 
130
                float v4[3],
 
131
                int glattrib
135
132
        )=0;
136
133
 
137
134
        virtual 
138
 
                void    
139
 
        SetViewMat(
 
135
                void            
 
136
        ProcessLighting(
 
137
                int layer,
140
138
                const MT_Transform& trans
141
 
        );
142
 
 
143
 
        virtual 
144
 
                int             
145
 
        ProcessLighting(
146
 
                int layer
147
139
        )=0;
148
140
 
 
141
        virtual
149
142
                void    
150
143
        SetClientObject(
 
144
                RAS_IRasterizer* rasty,
151
145
                void* obj
152
146
        );
153
147
 
184
178
 
185
179
        virtual
186
180
                void
187
 
                Update2DFilter(RAS_2DFilterManager::RAS_2DFILTER_MODE filtermode, int pass, STR_String& text)=0;
 
181
                Update2DFilter(vector<STR_String>& propNames, void* gameObj, RAS_2DFilterManager::RAS_2DFILTER_MODE filtermode, int pass, STR_String& text)=0;
188
182
 
189
183
        virtual
190
184
                void
191
185
                Render2DFilters(RAS_ICanvas* canvas)=0;
192
 
 
193
 
        virtual 
194
 
                class RAS_IPolyMaterial*        
195
 
        CreateBlenderPolyMaterial(
196
 
                const STR_String &texname,
197
 
                bool ba,
198
 
                const STR_String& matname,
199
 
                int tile,
200
 
                int tilexrep,
201
 
                int tileyrep,
202
 
                int mode,
203
 
                bool transparant,
204
 
                bool zsort,
205
 
                int lightlayer,
206
 
                bool bIsTriangle,
207
 
                void* clientobject,
208
 
                void* tface
209
 
        )=0;
210
186
};
211
187
 
212
188
#endif //__RAS_IRENDERTOOLS