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

Revision 9549, 43.2 kB (checked in by robert, 6 years ago)

Fixed effective leak in Program::PerContextProgram? caused by previously osg::State keeping a set of std::ref_ptr<Program::PerContextProgram?> without ever pruning this list.
The fix was to convert the osg::State to use C pointers for the set of applied PerContexProgram? objects, and use the osg::Oberver mechanism to avoid dangling pointers for being maintained in osg::State.

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