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

Revision 9449, 43.1 kB (checked in by robert, 6 years ago)

Updated wrappers

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