root/OpenSceneGraph/trunk/src/osgWrappers/osg/State.cpp @ 10588

Revision 10588, 45.3 kB (checked in by robert, 5 years ago)

Preliminary work on support for a texture object pool that is designed to help manage resources down the GPU more tightly.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1// ***************************************************************************
2//
3//   Generated automatically by genwrapper.
4//   Please DO NOT EDIT this file!
5//
6// ***************************************************************************
7
8#include <osgIntrospection/ReflectionMacros>
9#include <osgIntrospection/TypedMethodInfo>
10#include <osgIntrospection/StaticMethodInfo>
11#include <osgIntrospection/Attributes>
12
13#include <osg/Array>
14#include <osg/BufferObject>
15#include <osg/DisplaySettings>
16#include <osg/FrameStamp>
17#include <osg/GraphicsContext>
18#include <osg/Matrix>
19#include <osg/Polytope>
20#include <osg/Program>
21#include <osg/State>
22#include <osg/StateAttribute>
23#include <osg/StateSet>
24#include <osg/Viewport>
25
26// Must undefine IN and OUT macros defined in Windows headers
27#ifdef IN
28#undef IN
29#endif
30#ifdef OUT
31#undef OUT
32#endif
33
34BEGIN_ENUM_REFLECTOR(osg::State::CheckForGLErrors)
35        I_DeclaringFile("osg/State");
36        I_EnumLabel(osg::State::NEVER_CHECK_GL_ERRORS);
37        I_EnumLabel(osg::State::ONCE_PER_FRAME);
38        I_EnumLabel(osg::State::ONCE_PER_ATTRIBUTE);
39END_REFLECTOR
40
41TYPE_NAME_ALIAS(std::vector< const osg::StateSet * >, osg::State::StateSetStack)
42
43TYPE_NAME_ALIAS(std::pair< const osg::StateAttribute * COMMA  osg::StateAttribute::OverrideValue >, osg::State::AttributePair)
44
45TYPE_NAME_ALIAS(std::vector< osg::State::AttributePair >, osg::State::AttributeVec)
46
47BEGIN_OBJECT_REFLECTOR(osg::State)
48        I_DeclaringFile("osg/State");
49        I_BaseType(osg::Referenced);
50        I_BaseType(osg::Observer);
51        I_Constructor0(____State,
52                       "",
53                       "");
54        I_Method1(void, setGraphicsContext, IN, osg::GraphicsContext *, context,
55                  Properties::NON_VIRTUAL,
56                  __void__setGraphicsContext__GraphicsContext_P1,
57                  "Set the graphics context associated with that owns this State object. ",
58                  "");
59        I_Method0(osg::GraphicsContext *, getGraphicsContext,
60                  Properties::NON_VIRTUAL,
61                  __GraphicsContext_P1__getGraphicsContext,
62                  "Get the graphics context associated with that owns this State object. ",
63                  "");
64        I_Method0(const osg::GraphicsContext *, getGraphicsContext,
65                  Properties::NON_VIRTUAL,
66                  __C5_GraphicsContext_P1__getGraphicsContext,
67                  "Get the const graphics context associated with that owns this State object. ",
68                  "");
69        I_Method1(void, setContextID, IN, unsigned int, contextID,
70                  Properties::NON_VIRTUAL,
71                  __void__setContextID__unsigned_int,
72                  "Set the current OpenGL context uniqueID. ",
73                  "Note, it is the application developers responsibility to set up unique ID for each OpenGL context. This value is then used by osg::StateAttribute's and osg::Drawable's to help manage OpenGL display list and texture binds appropriate for each context, the contextID simply acts as an index in local arrays that they maintain for the purpose. Typical settings for contextID are 0,1,2,3... up to the maximum number of graphics contexts you have set up. By default contextID is 0. ");
74        I_Method0(unsigned int, getContextID,
75                  Properties::NON_VIRTUAL,
76                  __unsigned_int__getContextID,
77                  "Get the current OpenGL context unique ID. ",
78                  "");
79        I_Method1(void, pushStateSet, IN, const osg::StateSet *, dstate,
80                  Properties::NON_VIRTUAL,
81                  __void__pushStateSet__C5_StateSet_P1,
82                  "Push stateset onto state stack. ",
83                  "");
84        I_Method0(void, popStateSet,
85                  Properties::NON_VIRTUAL,
86                  __void__popStateSet,
87                  "Pop stateset off state stack. ",
88                  "");
89        I_Method0(void, popAllStateSets,
90                  Properties::NON_VIRTUAL,
91                  __void__popAllStateSets,
92                  "pop all statesets off state stack, ensuring it is empty ready for the next frame. ",
93                  "Note, to return OpenGL to default state, one should do any state.popAllStatSets(); state.apply(). ");
94        I_Method2(void, insertStateSet, IN, unsigned int, pos, IN, const osg::StateSet *, dstate,
95                  Properties::NON_VIRTUAL,
96                  __void__insertStateSet__unsigned_int__C5_StateSet_P1,
97                  "Insert stateset onto state stack. ",
98                  "");
99        I_Method1(void, removeStateSet, IN, unsigned int, pos,
100                  Properties::NON_VIRTUAL,
101                  __void__removeStateSet__unsigned_int,
102                  "Pop stateset off state stack. ",
103                  "");
104        I_Method0(unsigned int, getStateSetStackSize,
105                  Properties::NON_VIRTUAL,
106                  __unsigned_int__getStateSetStackSize,
107                  "Get the number of StateSet's on the StateSet stack. ",
108                  "");
109        I_Method1(void, popStateSetStackToSize, IN, unsigned int, size,
110                  Properties::NON_VIRTUAL,
111                  __void__popStateSetStackToSize__unsigned_int,
112                  "Pop StateSet's for the StateSet stack till its size equals the specified size. ",
113                  "");
114        I_Method0(osg::State::StateSetStack &, getStateSetStack,
115                  Properties::NON_VIRTUAL,
116                  __StateSetStack_R1__getStateSetStack,
117                  "Get the StateSet stack. ",
118                  "");
119        I_Method1(void, captureCurrentState, IN, osg::StateSet &, stateset,
120                  Properties::NON_VIRTUAL,
121                  __void__captureCurrentState__StateSet_R1,
122                  "Copy the modes and attributes which capture the current state. ",
123                  "");
124        I_Method0(void, reset,
125                  Properties::NON_VIRTUAL,
126                  __void__reset,
127                  "reset the state object to an empty stack. ",
128                  "");
129        I_Method0(const osg::Viewport *, getCurrentViewport,
130                  Properties::NON_VIRTUAL,
131                  __C5_Viewport_P1__getCurrentViewport,
132                  "",
133                  "");
134        I_Method1(void, setInitialViewMatrix, IN, const osg::RefMatrix *, matrix,
135                  Properties::NON_VIRTUAL,
136                  __void__setInitialViewMatrix__C5_osg_RefMatrix_P1,
137                  "",
138                  "");
139        I_Method0(const osg::Matrix &, getInitialViewMatrix,
140                  Properties::NON_VIRTUAL,
141                  __C5_osg_Matrix_R1__getInitialViewMatrix,
142                  "",
143                  "");
144        I_Method0(const osg::Matrix &, getInitialInverseViewMatrix,
145                  Properties::NON_VIRTUAL,
146                  __C5_osg_Matrix_R1__getInitialInverseViewMatrix,
147                  "",
148                  "");
149        I_Method1(void, applyProjectionMatrix, IN, const osg::RefMatrix *, matrix,
150                  Properties::NON_VIRTUAL,
151                  __void__applyProjectionMatrix__C5_osg_RefMatrix_P1,
152                  "",
153                  "");
154        I_Method0(const osg::Matrix &, getProjectionMatrix,
155                  Properties::NON_VIRTUAL,
156                  __C5_osg_Matrix_R1__getProjectionMatrix,
157                  "",
158                  "");
159        I_Method1(void, applyModelViewMatrix, IN, const osg::RefMatrix *, matrix,
160                  Properties::NON_VIRTUAL,
161                  __void__applyModelViewMatrix__C5_osg_RefMatrix_P1,
162                  "",
163                  "");
164        I_Method0(const osg::Matrix &, getModelViewMatrix,
165                  Properties::NON_VIRTUAL,
166                  __C5_osg_Matrix_R1__getModelViewMatrix,
167                  "",
168                  "");
169        I_Method0(osg::Polytope, getViewFrustum,
170                  Properties::NON_VIRTUAL,
171                  __Polytope__getViewFrustum,
172                  "",
173                  "");
174        I_Method1(void, apply, IN, const osg::StateSet *, dstate,
175                  Properties::NON_VIRTUAL,
176                  __void__apply__C5_StateSet_P1,
177                  "Apply stateset. ",
178                  "");
179        I_Method0(void, apply,
180                  Properties::NON_VIRTUAL,
181                  __void__apply,
182                  "Updates the OpenGL state so that it matches the StateSet at the top of the stack of StateSets maintained internally by a State. ",
183                  "");
184        I_Method2(void, setModeValidity, IN, osg::StateAttribute::GLMode, mode, IN, bool, valid,
185                  Properties::NON_VIRTUAL,
186                  __void__setModeValidity__StateAttribute_GLMode__bool,
187                  "Set whether a particular OpenGL mode is valid in the current graphics context. ",
188                  "Use to disable OpenGL modes that are not supported by current graphics drivers/context. ");
189        I_Method1(bool, getModeValidity, IN, osg::StateAttribute::GLMode, mode,
190                  Properties::NON_VIRTUAL,
191                  __bool__getModeValidity__StateAttribute_GLMode,
192                  "Get whether a particular OpenGL mode is valid in the current graphics context. ",
193                  "Use to disable OpenGL modes that are not supported by current graphics drivers/context. ");
194        I_Method2(void, setGlobalDefaultModeValue, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled,
195                  Properties::NON_VIRTUAL,
196                  __void__setGlobalDefaultModeValue__StateAttribute_GLMode__bool,
197                  "",
198                  "");
199        I_Method1(bool, getGlobalDefaultModeValue, IN, osg::StateAttribute::GLMode, mode,
200                  Properties::NON_VIRTUAL,
201                  __bool__getGlobalDefaultModeValue__StateAttribute_GLMode,
202                  "",
203                  "");
204        I_Method2(bool, applyMode, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled,
205                  Properties::NON_VIRTUAL,
206                  __bool__applyMode__StateAttribute_GLMode__bool,
207                  "Apply an OpenGL mode if required. ",
208                  "This is a wrapper around glEnable() and glDisable(), that just actually calls these functions if the enabled flag is different than the current state. true if the state was actually changed. false otherwise. Notice that a false return does not indicate an error, it just means that the mode was already set to the same value as the enabled parameter.  ");
209        I_Method3(void, setGlobalDefaultTextureModeValue, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled,
210                  Properties::NON_VIRTUAL,
211                  __void__setGlobalDefaultTextureModeValue__unsigned_int__StateAttribute_GLMode__bool,
212                  "",
213                  "");
214        I_Method2(bool, getGlobalDefaultTextureModeValue, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode,
215                  Properties::NON_VIRTUAL,
216                  __bool__getGlobalDefaultTextureModeValue__unsigned_int__StateAttribute_GLMode,
217                  "",
218                  "");
219        I_Method3(bool, applyTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled,
220                  Properties::NON_VIRTUAL,
221                  __bool__applyTextureMode__unsigned_int__StateAttribute_GLMode__bool,
222                  "",
223                  "");
224        I_Method1(void, setGlobalDefaultAttribute, IN, const osg::StateAttribute *, attribute,
225                  Properties::NON_VIRTUAL,
226                  __void__setGlobalDefaultAttribute__C5_StateAttribute_P1,
227                  "",
228                  "");
229        I_MethodWithDefaults2(const osg::StateAttribute *, getGlobalDefaultAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
230                              Properties::NON_VIRTUAL,
231                              __C5_StateAttribute_P1__getGlobalDefaultAttribute__StateAttribute_Type__unsigned_int,
232                              "",
233                              "");
234        I_Method1(bool, applyAttribute, IN, const osg::StateAttribute *, attribute,
235                  Properties::NON_VIRTUAL,
236                  __bool__applyAttribute__C5_StateAttribute_P1,
237                  "Apply an attribute if required. ",
238                  "");
239        I_Method2(void, setGlobalDefaultTextureAttribute, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute,
240                  Properties::NON_VIRTUAL,
241                  __void__setGlobalDefaultTextureAttribute__unsigned_int__C5_StateAttribute_P1,
242                  "",
243                  "");
244        I_MethodWithDefaults3(const osg::StateAttribute *, getGlobalDefaultTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
245                              Properties::NON_VIRTUAL,
246                              __C5_StateAttribute_P1__getGlobalDefaultTextureAttribute__unsigned_int__StateAttribute_Type__unsigned_int,
247                              "",
248                              "");
249        I_Method2(bool, applyTextureAttribute, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute,
250                  Properties::NON_VIRTUAL,
251                  __bool__applyTextureAttribute__unsigned_int__C5_StateAttribute_P1,
252                  "",
253                  "");
254        I_Method2(void, haveAppliedMode, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value,
255                  Properties::NON_VIRTUAL,
256                  __void__haveAppliedMode__StateAttribute_GLMode__StateAttribute_GLModeValue,
257                  "Mode has been set externally, update state to reflect this setting. ",
258                  "");
259        I_Method1(void, haveAppliedMode, IN, osg::StateAttribute::GLMode, mode,
260                  Properties::NON_VIRTUAL,
261                  __void__haveAppliedMode__StateAttribute_GLMode,
262                  "Mode has been set externally, therefore dirty the associated mode in osg::State so it is applied on next call to osg::State::apply(. ",
263                  ".) ");
264        I_Method1(void, haveAppliedAttribute, IN, const osg::StateAttribute *, attribute,
265                  Properties::NON_VIRTUAL,
266                  __void__haveAppliedAttribute__C5_StateAttribute_P1,
267                  "Attribute has been applied externally, update state to reflect this setting. ",
268                  "");
269        I_MethodWithDefaults2(void, haveAppliedAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
270                              Properties::NON_VIRTUAL,
271                              __void__haveAppliedAttribute__StateAttribute_Type__unsigned_int,
272                              "Attribute has been applied externally, and therefore this attribute type has been dirtied and will need to be re-applied on next osg::State.apply(. ",
273                              ".). note, if you have an osg::StateAttribute which you have applied externally then use the have_applied(attribute) method as this will cause the osg::State to track the current state more accurately and enable lazy state updating such that only changed state will be applied. ");
274        I_Method1(bool, getLastAppliedMode, IN, osg::StateAttribute::GLMode, mode,
275                  Properties::NON_VIRTUAL,
276                  __bool__getLastAppliedMode__StateAttribute_GLMode,
277                  "Get whether the current specified mode is enabled (true) or disabled (false). ",
278                  "");
279        I_MethodWithDefaults2(const osg::StateAttribute *, getLastAppliedAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
280                              Properties::NON_VIRTUAL,
281                              __C5_StateAttribute_P1__getLastAppliedAttribute__StateAttribute_Type__unsigned_int,
282                              "Get the current specified attribute, return NULL if one has not yet been applied. ",
283                              "");
284        I_Method3(void, haveAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value,
285                  Properties::NON_VIRTUAL,
286                  __void__haveAppliedTextureMode__unsigned_int__StateAttribute_GLMode__StateAttribute_GLModeValue,
287                  "texture Mode has been set externally, update state to reflect this setting. ",
288                  "");
289        I_Method2(void, haveAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode,
290                  Properties::NON_VIRTUAL,
291                  __void__haveAppliedTextureMode__unsigned_int__StateAttribute_GLMode,
292                  "texture Mode has been set externally, therefore dirty the associated mode in osg::State so it is applied on next call to osg::State::apply(. ",
293                  ".) ");
294        I_Method2(void, haveAppliedTextureAttribute, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute,
295                  Properties::NON_VIRTUAL,
296                  __void__haveAppliedTextureAttribute__unsigned_int__C5_StateAttribute_P1,
297                  "texture Attribute has been applied externally, update state to reflect this setting. ",
298                  "");
299        I_MethodWithDefaults3(void, haveAppliedTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
300                              Properties::NON_VIRTUAL,
301                              __void__haveAppliedTextureAttribute__unsigned_int__StateAttribute_Type__unsigned_int,
302                              "texture Attribute has been applied externally, and therefore this attribute type has been dirtied and will need to be re-applied on next osg::State.apply(. ",
303                              ".). note, if you have an osg::StateAttribute which you have applied externally then use the have_applied(attribute) method as this will the osg::State to track the current state more accurately and enable lazy state updating such that only changed state will be applied. ");
304        I_Method2(bool, getLastAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode,
305                  Properties::NON_VIRTUAL,
306                  __bool__getLastAppliedTextureMode__unsigned_int__StateAttribute_GLMode,
307                  "Get whether the current specified texture mode is enabled (true) or disabled (false). ",
308                  "");
309        I_MethodWithDefaults3(const osg::StateAttribute *, getLastAppliedTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
310                              Properties::NON_VIRTUAL,
311                              __C5_StateAttribute_P1__getLastAppliedTextureAttribute__unsigned_int__StateAttribute_Type__unsigned_int,
312                              "Get the current specified texture attribute, return NULL if one has not yet been applied. ",
313                              "");
314        I_Method0(void, dirtyAllModes,
315                  Properties::NON_VIRTUAL,
316                  __void__dirtyAllModes,
317                  "Dirty the modes previously applied in osg::State. ",
318                  "");
319        I_Method0(void, dirtyAllAttributes,
320                  Properties::NON_VIRTUAL,
321                  __void__dirtyAllAttributes,
322                  "Dirty the modes attributes previously applied in osg::State. ",
323                  "");
324        I_Method0(void, disableAllVertexArrays,
325                  Properties::NON_VIRTUAL,
326                  __void__disableAllVertexArrays,
327                  "disable the vertex, normal, color, tex coords, secondary color, fog coord and index arrays. ",
328                  "");
329        I_Method0(void, dirtyAllVertexArrays,
330                  Properties::NON_VIRTUAL,
331                  __void__dirtyAllVertexArrays,
332                  "dirty the vertex, normal, color, tex coords, secondary color, fog coord and index arrays. ",
333                  "");
334        I_Method1(void, setCurrentVertexBufferObject, IN, osg::VertexBufferObject *, vbo,
335                  Properties::NON_VIRTUAL,
336                  __void__setCurrentVertexBufferObject__osg_VertexBufferObject_P1,
337                  "",
338                  "");
339        I_Method0(const osg::VertexBufferObject *, getCurrentVertexBufferObject,
340                  Properties::NON_VIRTUAL,
341                  __C5_VertexBufferObject_P1__getCurrentVertexBufferObject,
342                  "",
343                  "");
344        I_Method1(void, bindVertexBufferObject, IN, const osg::VertexBufferObject *, vbo,
345                  Properties::NON_VIRTUAL,
346                  __void__bindVertexBufferObject__C5_osg_VertexBufferObject_P1,
347                  "",
348                  "");
349        I_Method0(void, unbindVertexBufferObject,
350                  Properties::NON_VIRTUAL,
351                  __void__unbindVertexBufferObject,
352                  "",
353                  "");
354        I_Method1(void, setCurrentElementBufferObject, IN, osg::ElementBufferObject *, ebo,
355                  Properties::NON_VIRTUAL,
356                  __void__setCurrentElementBufferObject__osg_ElementBufferObject_P1,
357                  "",
358                  "");
359        I_Method0(const osg::ElementBufferObject *, getCurrentElementBufferObject,
360                  Properties::NON_VIRTUAL,
361                  __C5_ElementBufferObject_P1__getCurrentElementBufferObject,
362                  "",
363                  "");
364        I_Method1(void, bindElementBufferObject, IN, const osg::ElementBufferObject *, ebo,
365                  Properties::NON_VIRTUAL,
366                  __void__bindElementBufferObject__C5_osg_ElementBufferObject_P1,
367                  "",
368                  "");
369        I_Method0(void, unbindElementBufferObject,
370                  Properties::NON_VIRTUAL,
371                  __void__unbindElementBufferObject,
372                  "",
373                  "");
374        I_Method1(void, setCurrentPixelBufferObject, IN, osg::PixelBufferObject *, pbo,
375                  Properties::NON_VIRTUAL,
376                  __void__setCurrentPixelBufferObject__osg_PixelBufferObject_P1,
377                  "",
378                  "");
379        I_Method0(const osg::PixelBufferObject *, getCurrentPixelBufferObject,
380                  Properties::NON_VIRTUAL,
381                  __C5_PixelBufferObject_P1__getCurrentPixelBufferObject,
382                  "",
383                  "");
384        I_Method1(void, bindPixelBufferObject, IN, const osg::PixelBufferObject *, pbo,
385                  Properties::NON_VIRTUAL,
386                  __void__bindPixelBufferObject__C5_osg_PixelBufferObject_P1,
387                  "",
388                  "");
389        I_Method0(void, unbindPixelBufferObject,
390                  Properties::NON_VIRTUAL,
391                  __void__unbindPixelBufferObject,
392                  "",
393                  "");
394        I_Method4(void, glDrawArraysInstanced, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count, IN, GLsizei, primcount,
395                  Properties::NON_VIRTUAL,
396                  __void__glDrawArraysInstanced__GLenum__GLint__GLsizei__GLsizei,
397                  "",
398                  "");
399        I_Method5(void, glDrawElementsInstanced, IN, GLenum, mode, IN, GLsizei, count, IN, GLenum, type, IN, const GLvoid *, indices, IN, GLsizei, primcount,
400                  Properties::NON_VIRTUAL,
401                  __void__glDrawElementsInstanced__GLenum__GLsizei__GLenum__C5_GLvoid_P1__GLsizei,
402                  "",
403                  "");
404        I_Method3(void, setInterleavedArrays, IN, GLenum, format, IN, GLsizei, stride, IN, const GLvoid *, pointer,
405                  Properties::NON_VIRTUAL,
406                  __void__setInterleavedArrays__GLenum__GLsizei__C5_GLvoid_P1,
407                  "Wrapper around glInterleavedArrays(. ",
408                  ".). also resets the internal array points and modes within osg::State to keep the other vertex array operations consistent. ");
409        I_Method1(void, setVertexPointer, IN, const osg::Array *, array,
410                  Properties::NON_VIRTUAL,
411                  __void__setVertexPointer__C5_Array_P1,
412                  "Set the vertex pointer using an osg::Array, and manage any VBO that are required. ",
413                  "");
414        I_Method4(void, setVertexPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,
415                  Properties::NON_VIRTUAL,
416                  __void__setVertexPointer__GLint__GLenum__GLsizei__C5_GLvoid_P1,
417                  "wrapper around glEnableClientState(GL_VERTEX_ARRAY);glVertexPointer(. ",
418                  ".); note, only updates values that change. ");
419        I_Method0(void, disableVertexPointer,
420                  Properties::NON_VIRTUAL,
421                  __void__disableVertexPointer,
422                  "wrapper around glDisableClientState(GL_VERTEX_ARRAY). ",
423                  "note, only updates values that change. ");
424        I_Method0(void, dirtyVertexPointer,
425                  Properties::NON_VIRTUAL,
426                  __void__dirtyVertexPointer,
427                  "",
428                  "");
429        I_Method1(void, setNormalPointer, IN, const osg::Array *, array,
430                  Properties::NON_VIRTUAL,
431                  __void__setNormalPointer__C5_Array_P1,
432                  "Set the normal pointer using an osg::Array, and manage any VBO that are required. ",
433                  "");
434        I_Method3(void, setNormalPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,
435                  Properties::NON_VIRTUAL,
436                  __void__setNormalPointer__GLenum__GLsizei__C5_GLvoid_P1,
437                  "wrapper around glEnableClientState(GL_NORMAL_ARRAY);glNormalPointer(. ",
438                  ".); note, only updates values that change. ");
439        I_Method0(void, disableNormalPointer,
440                  Properties::NON_VIRTUAL,
441                  __void__disableNormalPointer,
442                  "wrapper around glDisableClientState(GL_NORMAL_ARRAY); note, only updates values that change. ",
443                  "");
444        I_Method0(void, dirtyNormalPointer,
445                  Properties::NON_VIRTUAL,
446                  __void__dirtyNormalPointer,
447                  "",
448                  "");
449        I_Method1(void, setColorPointer, IN, const osg::Array *, array,
450                  Properties::NON_VIRTUAL,
451                  __void__setColorPointer__C5_Array_P1,
452                  "Set the color pointer using an osg::Array, and manage any VBO that are required. ",
453                  "");
454        I_Method4(void, setColorPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,
455                  Properties::NON_VIRTUAL,
456                  __void__setColorPointer__GLint__GLenum__GLsizei__C5_GLvoid_P1,
457                  "wrapper around glEnableClientState(GL_COLOR_ARRAY);glColorPointer(. ",
458                  ".); note, only updates values that change. ");
459        I_Method0(void, disableColorPointer,
460                  Properties::NON_VIRTUAL,
461                  __void__disableColorPointer,
462                  "wrapper around glDisableClientState(GL_COLOR_ARRAY); note, only updates values that change. ",
463                  "");
464        I_Method0(void, dirtyColorPointer,
465                  Properties::NON_VIRTUAL,
466                  __void__dirtyColorPointer,
467                  "",
468                  "");
469        I_Method0(bool, isSecondaryColorSupported,
470                  Properties::NON_VIRTUAL,
471                  __bool__isSecondaryColorSupported,
472                  "",
473                  "");
474        I_Method1(void, setSecondaryColorPointer, IN, const osg::Array *, array,
475                  Properties::NON_VIRTUAL,
476                  __void__setSecondaryColorPointer__C5_Array_P1,
477                  "Set the secondary color pointer using an osg::Array, and manage any VBO that are required. ",
478                  "");
479        I_Method4(void, setSecondaryColorPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,
480                  Properties::NON_VIRTUAL,
481                  __void__setSecondaryColorPointer__GLint__GLenum__GLsizei__C5_GLvoid_P1,
482                  "wrapper around glEnableClientState(GL_SECONDARY_COLOR_ARRAY);glSecondayColorPointer(. ",
483                  ".); note, only updates values that change. ");
484        I_Method0(void, disableSecondaryColorPointer,
485                  Properties::NON_VIRTUAL,
486                  __void__disableSecondaryColorPointer,
487                  "wrapper around glDisableClientState(GL_SECONDARY_COLOR_ARRAY); note, only updates values that change. ",
488                  "");
489        I_Method0(void, dirtySecondaryColorPointer,
490                  Properties::NON_VIRTUAL,
491                  __void__dirtySecondaryColorPointer,
492                  "",
493                  "");
494        I_Method3(void, setIndexPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,
495                  Properties::NON_VIRTUAL,
496                  __void__setIndexPointer__GLenum__GLsizei__C5_GLvoid_P1,
497                  "wrapper around glEnableClientState(GL_INDEX_ARRAY);glIndexPointer(. ",
498                  ".); note, only updates values that change. ");
499        I_Method0(void, disableIndexPointer,
500                  Properties::NON_VIRTUAL,
501                  __void__disableIndexPointer,
502                  "wrapper around glDisableClientState(GL_INDEX_ARRAY); note, only updates values that change. ",
503                  "");
504        I_Method0(void, dirtyIndexPointer,
505                  Properties::NON_VIRTUAL,
506                  __void__dirtyIndexPointer,
507                  "",
508                  "");
509        I_Method0(bool, isFogCoordSupported,
510                  Properties::NON_VIRTUAL,
511                  __bool__isFogCoordSupported,
512                  "",
513                  "");
514        I_Method1(void, setFogCoordPointer, IN, const osg::Array *, array,
515                  Properties::NON_VIRTUAL,
516                  __void__setFogCoordPointer__C5_Array_P1,
517                  "Set the fog coord pointer using an osg::Array, and manage any VBO that are required. ",
518                  "");
519        I_Method3(void, setFogCoordPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,
520                  Properties::NON_VIRTUAL,
521                  __void__setFogCoordPointer__GLenum__GLsizei__C5_GLvoid_P1,
522                  "wrapper around glEnableClientState(GL_FOG_COORDINATE_ARRAY);glFogCoordPointer(. ",
523                  ".); note, only updates values that change. ");
524        I_Method0(void, disableFogCoordPointer,
525                  Properties::NON_VIRTUAL,
526                  __void__disableFogCoordPointer,
527                  "wrapper around glDisableClientState(GL_FOG_COORDINATE_ARRAY); note, only updates values that change. ",
528                  "");
529        I_Method0(void, dirtyFogCoordPointer,
530                  Properties::NON_VIRTUAL,
531                  __void__dirtyFogCoordPointer,
532                  "",
533                  "");
534        I_Method2(void, setTexCoordPointer, IN, unsigned int, unit, IN, const osg::Array *, array,
535                  Properties::NON_VIRTUAL,
536                  __void__setTexCoordPointer__unsigned_int__C5_Array_P1,
537                  "Set the tex coord pointer using an osg::Array, and manage any VBO that are required. ",
538                  "");
539        I_Method5(void, setTexCoordPointer, IN, unsigned int, unit, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,
540                  Properties::NON_VIRTUAL,
541                  __void__setTexCoordPointer__unsigned_int__GLint__GLenum__GLsizei__C5_GLvoid_P1,
542                  "wrapper around glEnableClientState(GL_TEXTURE_COORD_ARRAY);glTexCoordPointer(. ",
543                  ".); note, only updates values that change. ");
544        I_Method1(void, disableTexCoordPointer, IN, unsigned int, unit,
545                  Properties::NON_VIRTUAL,
546                  __void__disableTexCoordPointer__unsigned_int,
547                  "wrapper around glDisableClientState(GL_TEXTURE_COORD_ARRAY); note, only updates values that change. ",
548                  "");
549        I_Method1(void, dirtyTexCoordPointer, IN, unsigned int, unit,
550                  Properties::NON_VIRTUAL,
551                  __void__dirtyTexCoordPointer__unsigned_int,
552                  "",
553                  "");
554        I_Method1(void, disableTexCoordPointersAboveAndIncluding, IN, unsigned int, unit,
555                  Properties::NON_VIRTUAL,
556                  __void__disableTexCoordPointersAboveAndIncluding__unsigned_int,
557                  "",
558                  "");
559        I_Method1(void, dirtyTexCoordPointersAboveAndIncluding, IN, unsigned int, unit,
560                  Properties::NON_VIRTUAL,
561                  __void__dirtyTexCoordPointersAboveAndIncluding__unsigned_int,
562                  "",
563                  "");
564        I_Method1(bool, setActiveTextureUnit, IN, unsigned int, unit,
565                  Properties::NON_VIRTUAL,
566                  __bool__setActiveTextureUnit__unsigned_int,
567                  "Set the current texture unit, return true if selected, false if selection failed such as when multi texturing is not supported. ",
568                  "note, only updates values that change. ");
569        I_Method0(unsigned int, getActiveTextureUnit,
570                  Properties::NON_VIRTUAL,
571                  __unsigned_int__getActiveTextureUnit,
572                  "Get the current texture unit. ",
573                  "");
574        I_Method1(bool, setClientActiveTextureUnit, IN, unsigned int, unit,
575                  Properties::NON_VIRTUAL,
576                  __bool__setClientActiveTextureUnit__unsigned_int,
577                  "Set the current tex coord array texture unit, return true if selected, false if selection failed such as when multi texturing is not supported. ",
578                  "note, only updates values that change. ");
579        I_Method0(unsigned int, getClientActiveTextureUnit,
580                  Properties::NON_VIRTUAL,
581                  __unsigned_int__getClientActiveTextureUnit,
582                  "Get the current tex coord array texture unit. ",
583                  "");
584        I_Method3(void, setVertexAttribPointer, IN, unsigned int, unit, IN, const osg::Array *, array, IN, GLboolean, normalized,
585                  Properties::NON_VIRTUAL,
586                  __void__setVertexAttribPointer__unsigned_int__C5_Array_P1__GLboolean,
587                  "Set the vertex attrib pointer using an osg::Array, and manage any VBO that are required. ",
588                  "");
589        I_Method6(void, setVertexAttribPointer, IN, unsigned int, index, IN, GLint, size, IN, GLenum, type, IN, GLboolean, normalized, IN, GLsizei, stride, IN, const GLvoid *, ptr,
590                  Properties::NON_VIRTUAL,
591                  __void__setVertexAttribPointer__unsigned_int__GLint__GLenum__GLboolean__GLsizei__C5_GLvoid_P1,
592                  "wrapper around glEnableVertexAttribArrayARB(index);glVertexAttribPointerARB(. ",
593                  ".); note, only updates values that change. ");
594        I_Method1(void, disableVertexAttribPointer, IN, unsigned int, index,
595                  Properties::NON_VIRTUAL,
596                  __void__disableVertexAttribPointer__unsigned_int,
597                  "wrapper around DisableVertexAttribArrayARB(index); note, only updates values that change. ",
598                  "");
599        I_Method1(void, disableVertexAttribPointersAboveAndIncluding, IN, unsigned int, index,
600                  Properties::NON_VIRTUAL,
601                  __void__disableVertexAttribPointersAboveAndIncluding__unsigned_int,
602                  "",
603                  "");
604        I_Method1(void, dirtyVertexAttribPointersAboveAndIncluding, IN, unsigned int, index,
605                  Properties::NON_VIRTUAL,
606                  __void__dirtyVertexAttribPointersAboveAndIncluding__unsigned_int,
607                  "",
608                  "");
609        I_Method0(bool, isVertexBufferObjectSupported,
610                  Properties::NON_VIRTUAL,
611                  __bool__isVertexBufferObjectSupported,
612                  "",
613                  "");
614        I_Method1(void, setLastAppliedProgramObject, IN, const osg::Program::PerContextProgram *, program,
615                  Properties::NON_VIRTUAL,
616                  __void__setLastAppliedProgramObject__C5_Program_PerContextProgram_P1,
617                  "",
618                  "");
619        I_Method0(const osg::Program::PerContextProgram *, getLastAppliedProgramObject,
620                  Properties::NON_VIRTUAL,
621                  __C5_Program_PerContextProgram_P1__getLastAppliedProgramObject,
622                  "",
623                  "");
624        I_Method1(GLint, getUniformLocation, IN, const std::string &, name,
625                  Properties::NON_VIRTUAL,
626                  __GLint__getUniformLocation__C5_std_string_R1,
627                  "",
628                  "");
629        I_Method1(GLint, getAttribLocation, IN, const std::string &, name,
630                  Properties::NON_VIRTUAL,
631                  __GLint__getAttribLocation__C5_std_string_R1,
632                  "",
633                  "");
634        I_Method1(osg::State::AttributeVec &, getAttributeVec, IN, const osg::StateAttribute *, attribute,
635                  Properties::NON_VIRTUAL,
636                  __AttributeVec_R1__getAttributeVec__C5_osg_StateAttribute_P1,
637                  "",
638                  "");
639        I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs,
640                  Properties::NON_VIRTUAL,
641                  __void__setFrameStamp__FrameStamp_P1,
642                  "Set the frame stamp for the current frame. ",
643                  "");
644        I_Method0(osg::FrameStamp *, getFrameStamp,
645                  Properties::NON_VIRTUAL,
646                  __FrameStamp_P1__getFrameStamp,
647                  "Get the frame stamp for the current frame. ",
648                  "");
649        I_Method0(const osg::FrameStamp *, getFrameStamp,
650                  Properties::NON_VIRTUAL,
651                  __C5_FrameStamp_P1__getFrameStamp,
652                  "Get the const frame stamp for the current frame. ",
653                  "");
654        I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, vs,
655                  Properties::NON_VIRTUAL,
656                  __void__setDisplaySettings__DisplaySettings_P1,
657                  "Set the DisplaySettings. ",
658                  "Note, nothing is applied, the visual settings are just used in the State object to pass the current visual settings to Drawables during rendering. ");
659        I_Method0(const osg::DisplaySettings *, getDisplaySettings,
660                  Properties::NON_VIRTUAL,
661                  __C5_DisplaySettings_P1__getDisplaySettings,
662                  "Get the DisplaySettings. ",
663                  "");
664        I_Method1(void, setAbortRenderingPtr, IN, bool *, abortPtr,
665                  Properties::NON_VIRTUAL,
666                  __void__setAbortRenderingPtr__bool_P1,
667                  "Set flag for early termination of the draw traversal. ",
668                  "");
669        I_Method0(bool, getAbortRendering,
670                  Properties::NON_VIRTUAL,
671                  __bool__getAbortRendering,
672                  "Get flag for early termination of the draw traversal, if true steps should be taken to complete rendering early. ",
673                  "");
674        I_Method1(void, setDynamicObjectRenderingCompletedCallback, IN, osg::State::DynamicObjectRenderingCompletedCallback *, cb,
675                  Properties::NON_VIRTUAL,
676                  __void__setDynamicObjectRenderingCompletedCallback__DynamicObjectRenderingCompletedCallback_P1,
677                  "Set the callback to be called when the dynamic object count hits 0. ",
678                  "");
679        I_Method0(osg::State::DynamicObjectRenderingCompletedCallback *, getDynamicObjectRenderingCompletedCallback,
680                  Properties::NON_VIRTUAL,
681                  __DynamicObjectRenderingCompletedCallback_P1__getDynamicObjectRenderingCompletedCallback,
682                  "Get the callback to be called when the dynamic object count hits 0. ",
683                  "");
684        I_MethodWithDefaults2(void, setDynamicObjectCount, IN, unsigned int, count, , IN, bool, callCallbackOnZero, false,
685                              Properties::NON_VIRTUAL,
686                              __void__setDynamicObjectCount__unsigned_int__bool,
687                              "Set the number of dynamic objects that will be rendered in this graphics context this frame. ",
688                              "");
689        I_Method0(unsigned int, getDynamicObjectCount,
690                  Properties::NON_VIRTUAL,
691                  __unsigned_int__getDynamicObjectCount,
692                  "Get the number of dynamic objects that will be rendered in this graphics context this frame. ",
693                  "");
694        I_Method0(void, decrementDynamicObjectCount,
695                  Properties::NON_VIRTUAL,
696                  __void__decrementDynamicObjectCount,
697                  "Decrement the number of dynamic objects left to render this frame, and once the count goes to zero call the DynamicObjectRenderingCompletedCallback to inform of completion. ",
698                  "");
699        I_Method1(void, setMaxTexturePoolSize, IN, unsigned int, size,
700                  Properties::NON_VIRTUAL,
701                  __void__setMaxTexturePoolSize__unsigned_int,
702                  "",
703                  "");
704        I_Method0(unsigned int, getMaxTexturePoolSize,
705                  Properties::NON_VIRTUAL,
706                  __unsigned_int__getMaxTexturePoolSize,
707                  "",
708                  "");
709        I_Method1(void, setMaxVBOPoolSize, IN, unsigned int, size,
710                  Properties::NON_VIRTUAL,
711                  __void__setMaxVBOPoolSize__unsigned_int,
712                  "",
713                  "");
714        I_Method0(unsigned int, getMaxVBOPoolSize,
715                  Properties::NON_VIRTUAL,
716                  __unsigned_int__getMaxVBOPoolSize,
717                  "",
718                  "");
719        I_Method1(void, setMaxFBOPoolSize, IN, unsigned int, size,
720                  Properties::NON_VIRTUAL,
721                  __void__setMaxFBOPoolSize__unsigned_int,
722                  "",
723                  "");
724        I_Method0(unsigned int, getMaxFBOPoolSize,
725                  Properties::NON_VIRTUAL,
726                  __unsigned_int__getMaxFBOPoolSize,
727                  "",
728                  "");
729        I_Method1(void, setCheckForGLErrors, IN, osg::State::CheckForGLErrors, check,
730                  Properties::NON_VIRTUAL,
731                  __void__setCheckForGLErrors__CheckForGLErrors,
732                  "Set whether and how often OpenGL errors should be checked for. ",
733                  "");
734        I_Method0(osg::State::CheckForGLErrors, getCheckForGLErrors,
735                  Properties::NON_VIRTUAL,
736                  __CheckForGLErrors__getCheckForGLErrors,
737                  "Get whether and how often OpenGL errors should be checked for. ",
738                  "");
739        I_Method1(bool, checkGLErrors, IN, const char *, str,
740                  Properties::NON_VIRTUAL,
741                  __bool__checkGLErrors__C5_char_P1,
742                  "",
743                  "");
744        I_Method1(bool, checkGLErrors, IN, osg::StateAttribute::GLMode, mode,
745                  Properties::NON_VIRTUAL,
746                  __bool__checkGLErrors__StateAttribute_GLMode,
747                  "",
748                  "");
749        I_Method1(bool, checkGLErrors, IN, const osg::StateAttribute *, attribute,
750                  Properties::NON_VIRTUAL,
751                  __bool__checkGLErrors__C5_StateAttribute_P1,
752                  "",
753                  "");
754        I_Method0(void, initializeExtensionProcs,
755                  Properties::NON_VIRTUAL,
756                  __void__initializeExtensionProcs,
757                  "Initialize extension used by osg:State. ",
758                  "");
759        I_Method1(void, objectDeleted, IN, void *, object,
760                  Properties::VIRTUAL,
761                  __void__objectDeleted__void_P1,
762                  "",
763                  "");
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787        I_ProtectedMethod0(bool, computeSecondaryColorSupported,
788                           Properties::NON_VIRTUAL,
789                           Properties::CONST,
790                           __bool__computeSecondaryColorSupported,
791                           "",
792                           "");
793        I_ProtectedMethod0(bool, computeFogCoordSupported,
794                           Properties::NON_VIRTUAL,
795                           Properties::CONST,
796                           __bool__computeFogCoordSupported,
797                           "",
798                           "");
799        I_ProtectedMethod0(bool, computeVertexBufferObjectSupported,
800                           Properties::NON_VIRTUAL,
801                           Properties::CONST,
802                           __bool__computeVertexBufferObjectSupported,
803                           "",
804                           "");
805
806
807
808
809
810
811
812        I_SimpleProperty(bool, AbortRendering,
813                         __bool__getAbortRendering,
814                         0);
815        I_SimpleProperty(bool *, AbortRenderingPtr,
816                         0,
817                         __void__setAbortRenderingPtr__bool_P1);
818        I_SimpleProperty(unsigned int, ActiveTextureUnit,
819                         __unsigned_int__getActiveTextureUnit,
820                         __bool__setActiveTextureUnit__unsigned_int);
821        I_SimpleProperty(osg::State::CheckForGLErrors, CheckForGLErrors,
822                         __CheckForGLErrors__getCheckForGLErrors,
823                         __void__setCheckForGLErrors__CheckForGLErrors);
824        I_SimpleProperty(unsigned int, ClientActiveTextureUnit,
825                         __unsigned_int__getClientActiveTextureUnit,
826                         __bool__setClientActiveTextureUnit__unsigned_int);
827        I_SimpleProperty(const osg::Array *, ColorPointer,
828                         0,
829                         __void__setColorPointer__C5_Array_P1);
830        I_SimpleProperty(unsigned int, ContextID,
831                         __unsigned_int__getContextID,
832                         __void__setContextID__unsigned_int);
833        I_SimpleProperty(osg::ElementBufferObject *, CurrentElementBufferObject,
834                         0,
835                         __void__setCurrentElementBufferObject__osg_ElementBufferObject_P1);
836        I_SimpleProperty(osg::PixelBufferObject *, CurrentPixelBufferObject,
837                         0,
838                         __void__setCurrentPixelBufferObject__osg_PixelBufferObject_P1);
839        I_SimpleProperty(osg::VertexBufferObject *, CurrentVertexBufferObject,
840                         0,
841                         __void__setCurrentVertexBufferObject__osg_VertexBufferObject_P1);
842        I_SimpleProperty(const osg::Viewport *, CurrentViewport,
843                         __C5_Viewport_P1__getCurrentViewport,
844                         0);
845        I_SimpleProperty(osg::DisplaySettings *, DisplaySettings,
846                         0,
847                         __void__setDisplaySettings__DisplaySettings_P1);
848        I_SimpleProperty(unsigned int, DynamicObjectCount,
849                         __unsigned_int__getDynamicObjectCount,
850                         0);
851        I_SimpleProperty(osg::State::DynamicObjectRenderingCompletedCallback *, DynamicObjectRenderingCompletedCallback,
852                         __DynamicObjectRenderingCompletedCallback_P1__getDynamicObjectRenderingCompletedCallback,
853                         __void__setDynamicObjectRenderingCompletedCallback__DynamicObjectRenderingCompletedCallback_P1);
854        I_SimpleProperty(const osg::Array *, FogCoordPointer,
855                         0,
856                         __void__setFogCoordPointer__C5_Array_P1);
857        I_SimpleProperty(osg::FrameStamp *, FrameStamp,
858                         __FrameStamp_P1__getFrameStamp,
859                         __void__setFrameStamp__FrameStamp_P1);
860        I_SimpleProperty(const osg::StateAttribute *, GlobalDefaultAttribute,
861                         0,
862                         __void__setGlobalDefaultAttribute__C5_StateAttribute_P1);
863        I_IndexedProperty(bool, GlobalDefaultModeValue,
864                          __bool__getGlobalDefaultModeValue__StateAttribute_GLMode,
865                          __void__setGlobalDefaultModeValue__StateAttribute_GLMode__bool,
866                          0);
867        I_IndexedProperty(bool, GlobalDefaultTextureModeValue,
868                          __bool__getGlobalDefaultTextureModeValue__unsigned_int__StateAttribute_GLMode,
869                          __void__setGlobalDefaultTextureModeValue__unsigned_int__StateAttribute_GLMode__bool,
870                          0);
871        I_SimpleProperty(osg::GraphicsContext *, GraphicsContext,
872                         __GraphicsContext_P1__getGraphicsContext,
873                         __void__setGraphicsContext__GraphicsContext_P1);
874        I_SimpleProperty(const osg::Matrix &, InitialInverseViewMatrix,
875                         __C5_osg_Matrix_R1__getInitialInverseViewMatrix,
876                         0);
877        I_SimpleProperty(const osg::RefMatrix *, InitialViewMatrix,
878                         0,
879                         __void__setInitialViewMatrix__C5_osg_RefMatrix_P1);
880        I_SimpleProperty(const osg::Program::PerContextProgram *, LastAppliedProgramObject,
881                         __C5_Program_PerContextProgram_P1__getLastAppliedProgramObject,
882                         __void__setLastAppliedProgramObject__C5_Program_PerContextProgram_P1);
883        I_SimpleProperty(unsigned int, MaxFBOPoolSize,
884                         __unsigned_int__getMaxFBOPoolSize,
885                         __void__setMaxFBOPoolSize__unsigned_int);
886        I_SimpleProperty(unsigned int, MaxTexturePoolSize,
887                         __unsigned_int__getMaxTexturePoolSize,
888                         __void__setMaxTexturePoolSize__unsigned_int);
889        I_SimpleProperty(unsigned int, MaxVBOPoolSize,
890                         __unsigned_int__getMaxVBOPoolSize,
891                         __void__setMaxVBOPoolSize__unsigned_int);
892        I_IndexedProperty(bool, ModeValidity,
893                          __bool__getModeValidity__StateAttribute_GLMode,
894                          __void__setModeValidity__StateAttribute_GLMode__bool,
895                          0);
896        I_SimpleProperty(const osg::Matrix &, ModelViewMatrix,
897                         __C5_osg_Matrix_R1__getModelViewMatrix,
898                         0);
899        I_SimpleProperty(const osg::Array *, NormalPointer,
900                         0,
901                         __void__setNormalPointer__C5_Array_P1);
902        I_SimpleProperty(const osg::Matrix &, ProjectionMatrix,
903                         __C5_osg_Matrix_R1__getProjectionMatrix,
904                         0);
905        I_SimpleProperty(const osg::Array *, SecondaryColorPointer,
906                         0,
907                         __void__setSecondaryColorPointer__C5_Array_P1);
908        I_SimpleProperty(osg::State::StateSetStack &, StateSetStack,
909                         __StateSetStack_R1__getStateSetStack,
910                         0);
911        I_SimpleProperty(unsigned int, StateSetStackSize,
912                         __unsigned_int__getStateSetStackSize,
913                         0);
914        I_SimpleProperty(const osg::Array *, VertexPointer,
915                         0,
916                         __void__setVertexPointer__C5_Array_P1);
917        I_SimpleProperty(osg::Polytope, ViewFrustum,
918                         __Polytope__getViewFrustum,
919                         0);
920END_REFLECTOR
921
922BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::State::DynamicObjectRenderingCompletedCallback)
923        I_DeclaringFile("osg/State");
924        I_BaseType(osg::Referenced);
925        I_Constructor0(____DynamicObjectRenderingCompletedCallback,
926                       "",
927                       "");
928        I_Method1(void, completed, IN, osg::State *, x,
929                  Properties::PURE_VIRTUAL,
930                  __void__completed__osg_State_P1,
931                  "",
932                  "");
933END_REFLECTOR
934
935STD_PAIR_REFLECTOR(std::pair< const osg::StateAttribute * COMMA  osg::StateAttribute::OverrideValue >)
936
937STD_VECTOR_REFLECTOR(std::vector< const osg::StateSet * >)
938
939STD_VECTOR_REFLECTOR(std::vector< osg::State::AttributePair >)
Note: See TracBrowser for help on using the browser.