Updated wrappers
This commit is contained in:
@@ -19,128 +19,136 @@
|
||||
#include <osg/StateSet>
|
||||
#include <osg/Viewport>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::State::CheckForGLErrors)
|
||||
EnumLabel(osg::State::NEVER_CHECK_GL_ERRORS);
|
||||
EnumLabel(osg::State::ONCE_PER_FRAME);
|
||||
EnumLabel(osg::State::ONCE_PER_ATTRIBUTE);
|
||||
I_EnumLabel(osg::State::NEVER_CHECK_GL_ERRORS);
|
||||
I_EnumLabel(osg::State::ONCE_PER_FRAME);
|
||||
I_EnumLabel(osg::State::ONCE_PER_ATTRIBUTE);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::State)
|
||||
BaseType(osg::Referenced);
|
||||
Constructor0();
|
||||
Method1(void, pushStateSet, IN, const osg::StateSet *, dstate);
|
||||
Method0(void, popStateSet);
|
||||
Method0(void, popAllStateSets);
|
||||
Method1(void, captureCurrentState, IN, osg::StateSet &, stateset);
|
||||
Method0(void, reset);
|
||||
Method0(const osg::Viewport *, getCurrentViewport);
|
||||
Method1(void, setInitialViewMatrix, IN, const osg::RefMatrix *, matrix);
|
||||
Method0(const osg::Matrix &, getInitialViewMatrix);
|
||||
Method0(const osg::Matrix &, getInitialInverseViewMatrix);
|
||||
Method1(void, applyProjectionMatrix, IN, const osg::RefMatrix *, matrix);
|
||||
Method0(const osg::Matrix &, getProjectionMatrix);
|
||||
Method1(void, applyModelViewMatrix, IN, const osg::RefMatrix *, matrix);
|
||||
Method0(const osg::Matrix &, getModelViewMatrix);
|
||||
Method0(osg::Polytope, getViewFrustum);
|
||||
Method1(void, apply, IN, const osg::StateSet *, dstate);
|
||||
Method0(void, apply);
|
||||
Method2(void, setGlobalDefaultModeValue, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled);
|
||||
Method1(bool, getGlobalDefaultModeValue, IN, osg::StateAttribute::GLMode, mode);
|
||||
Method2(bool, applyMode, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled);
|
||||
Method3(void, setGlobalDefaultTextureModeValue, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled);
|
||||
Method2(bool, getGlobalDefaultTextureModeValue, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode);
|
||||
Method3(bool, applyTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled);
|
||||
Method1(void, setGlobalDefaultAttribute, IN, const osg::StateAttribute *, attribute);
|
||||
MethodWithDefaults2(const osg::StateAttribute *, getGlobalDefaultAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
Method1(bool, applyAttribute, IN, const osg::StateAttribute *, attribute);
|
||||
Method2(void, setGlobalDefaultTextureAttribute, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute);
|
||||
MethodWithDefaults3(const osg::StateAttribute *, getGlobalDefaultTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
Method2(bool, applyTextureAttribute, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute);
|
||||
Method2(void, haveAppliedMode, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value);
|
||||
Method1(void, haveAppliedMode, IN, osg::StateAttribute::GLMode, mode);
|
||||
Method1(void, haveAppliedAttribute, IN, const osg::StateAttribute *, attribute);
|
||||
MethodWithDefaults2(void, haveAppliedAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
Method1(bool, getLastAppliedMode, IN, osg::StateAttribute::GLMode, mode);
|
||||
MethodWithDefaults2(const osg::StateAttribute *, getLastAppliedAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
Method3(void, haveAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value);
|
||||
Method2(void, haveAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode);
|
||||
Method2(void, haveAppliedTextureAttribute, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute);
|
||||
MethodWithDefaults3(void, haveAppliedTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
Method2(bool, getLastAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode);
|
||||
MethodWithDefaults3(const osg::StateAttribute *, getLastAppliedTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
Method0(void, dirtyAllModes);
|
||||
Method0(void, dirtyAllAttributes);
|
||||
Method0(void, disableAllVertexArrays);
|
||||
Method0(void, dirtyAllVertexArrays);
|
||||
Method3(void, setInterleavedArrays, IN, GLenum, format, IN, GLsizei, stride, IN, const GLvoid *, pointer);
|
||||
Method4(void, setVertexPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
Method0(void, disableVertexPointer);
|
||||
Method0(void, dirtyVertexPointer);
|
||||
Method3(void, setNormalPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
Method0(void, disableNormalPointer);
|
||||
Method0(void, dirtyNormalPointer);
|
||||
Method4(void, setColorPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
Method0(void, disableColorPointer);
|
||||
Method0(void, dirtyColorPointer);
|
||||
Method0(bool, isSecondaryColorSupported);
|
||||
Method4(void, setSecondaryColorPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
Method0(void, disableSecondaryColorPointer);
|
||||
Method0(void, dirtySecondaryColorPointer);
|
||||
Method3(void, setIndexPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
Method0(void, disableIndexPointer);
|
||||
Method0(void, dirtyIndexPointer);
|
||||
Method0(bool, isFogCoordSupported);
|
||||
Method3(void, setFogCoordPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
Method0(void, disableFogCoordPointer);
|
||||
Method0(void, dirtyFogCoordPointer);
|
||||
Method5(void, setTexCoordPointer, IN, unsigned int, unit, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
Method1(void, disableTexCoordPointer, IN, unsigned int, unit);
|
||||
Method1(void, dirtyTexCoordPointer, IN, unsigned int, unit);
|
||||
Method1(void, disableTexCoordPointersAboveAndIncluding, IN, unsigned int, unit);
|
||||
Method1(void, dirtyTexCoordPointersAboveAndIncluding, IN, unsigned int, unit);
|
||||
Method1(bool, setActiveTextureUnit, IN, unsigned int, unit);
|
||||
Method0(unsigned int, getActiveTextureUnit);
|
||||
Method1(bool, setClientActiveTextureUnit, IN, unsigned int, unit);
|
||||
Method0(unsigned int, getClientActiveTextureUnit);
|
||||
Method6(void, setVertexAttribPointer, IN, unsigned int, index, IN, GLint, size, IN, GLenum, type, IN, GLboolean, normalized, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
Method1(void, disableVertexAttribPointer, IN, unsigned int, index);
|
||||
Method1(void, disableVertexAttribPointersAboveAndIncluding, IN, unsigned int, index);
|
||||
Method1(void, dirtyVertexAttribPointersAboveAndIncluding, IN, unsigned int, index);
|
||||
Method0(bool, isVertexBufferObjectSupported);
|
||||
Method1(void, setLastAppliedProgramObject, IN, const osg::Program::PerContextProgram *, program);
|
||||
Method0(const osg::Program::PerContextProgram *, getLastAppliedProgramObject);
|
||||
Method1(GLint, getUniformLocation, IN, const std::string &, name);
|
||||
Method1(GLint, getAttribLocation, IN, const std::string &, name);
|
||||
Method1(void, setContextID, IN, unsigned int, contextID);
|
||||
Method0(unsigned int, getContextID);
|
||||
Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs);
|
||||
Method0(const osg::FrameStamp *, getFrameStamp);
|
||||
Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, vs);
|
||||
Method0(const osg::DisplaySettings *, getDisplaySettings);
|
||||
Method1(void, setAbortRenderingPtr, IN, bool *, abortPtr);
|
||||
Method0(bool, getAbortRendering);
|
||||
Method1(void, setCheckForGLErrors, IN, osg::State::CheckForGLErrors, check);
|
||||
Method0(osg::State::CheckForGLErrors, getCheckForGLErrors);
|
||||
Method1(bool, checkGLErrors, IN, const char *, str);
|
||||
Method1(bool, checkGLErrors, IN, osg::StateAttribute::GLMode, mode);
|
||||
Method1(bool, checkGLErrors, IN, const osg::StateAttribute *, attribute);
|
||||
ReadOnlyProperty(bool, AbortRendering);
|
||||
WriteOnlyProperty(bool *, AbortRenderingPtr);
|
||||
PropertyWithReturnType(unsigned int, ActiveTextureUnit, bool);
|
||||
Property(osg::State::CheckForGLErrors, CheckForGLErrors);
|
||||
PropertyWithReturnType(unsigned int, ClientActiveTextureUnit, bool);
|
||||
Property(unsigned int, ContextID);
|
||||
ReadOnlyProperty(const osg::Viewport *, CurrentViewport);
|
||||
WriteOnlyProperty(osg::DisplaySettings *, DisplaySettings);
|
||||
WriteOnlyProperty(osg::FrameStamp *, FrameStamp);
|
||||
WriteOnlyProperty(const osg::StateAttribute *, GlobalDefaultAttribute);
|
||||
IndexedProperty1(bool, GlobalDefaultModeValue, osg::StateAttribute::GLMode, mode);
|
||||
IndexedProperty2(bool, GlobalDefaultTextureModeValue, unsigned int, unit, osg::StateAttribute::GLMode, mode);
|
||||
ReadOnlyProperty(const osg::Matrix &, InitialInverseViewMatrix);
|
||||
WriteOnlyProperty(const osg::RefMatrix *, InitialViewMatrix);
|
||||
Property(const osg::Program::PerContextProgram *, LastAppliedProgramObject);
|
||||
ReadOnlyProperty(const osg::Matrix &, ModelViewMatrix);
|
||||
ReadOnlyProperty(const osg::Matrix &, ProjectionMatrix);
|
||||
ReadOnlyProperty(osg::Polytope, ViewFrustum);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0();
|
||||
I_Method1(void, pushStateSet, IN, const osg::StateSet *, dstate);
|
||||
I_Method0(void, popStateSet);
|
||||
I_Method0(void, popAllStateSets);
|
||||
I_Method1(void, captureCurrentState, IN, osg::StateSet &, stateset);
|
||||
I_Method0(void, reset);
|
||||
I_Method0(const osg::Viewport *, getCurrentViewport);
|
||||
I_Method1(void, setInitialViewMatrix, IN, const osg::RefMatrix *, matrix);
|
||||
I_Method0(const osg::Matrix &, getInitialViewMatrix);
|
||||
I_Method0(const osg::Matrix &, getInitialInverseViewMatrix);
|
||||
I_Method1(void, applyProjectionMatrix, IN, const osg::RefMatrix *, matrix);
|
||||
I_Method0(const osg::Matrix &, getProjectionMatrix);
|
||||
I_Method1(void, applyModelViewMatrix, IN, const osg::RefMatrix *, matrix);
|
||||
I_Method0(const osg::Matrix &, getModelViewMatrix);
|
||||
I_Method0(osg::Polytope, getViewFrustum);
|
||||
I_Method1(void, apply, IN, const osg::StateSet *, dstate);
|
||||
I_Method0(void, apply);
|
||||
I_Method2(void, setGlobalDefaultModeValue, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled);
|
||||
I_Method1(bool, getGlobalDefaultModeValue, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_Method2(bool, applyMode, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled);
|
||||
I_Method3(void, setGlobalDefaultTextureModeValue, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled);
|
||||
I_Method2(bool, getGlobalDefaultTextureModeValue, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_Method3(bool, applyTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled);
|
||||
I_Method1(void, setGlobalDefaultAttribute, IN, const osg::StateAttribute *, attribute);
|
||||
I_MethodWithDefaults2(const osg::StateAttribute *, getGlobalDefaultAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
I_Method1(bool, applyAttribute, IN, const osg::StateAttribute *, attribute);
|
||||
I_Method2(void, setGlobalDefaultTextureAttribute, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute);
|
||||
I_MethodWithDefaults3(const osg::StateAttribute *, getGlobalDefaultTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
I_Method2(bool, applyTextureAttribute, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute);
|
||||
I_Method2(void, haveAppliedMode, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value);
|
||||
I_Method1(void, haveAppliedMode, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_Method1(void, haveAppliedAttribute, IN, const osg::StateAttribute *, attribute);
|
||||
I_MethodWithDefaults2(void, haveAppliedAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
I_Method1(bool, getLastAppliedMode, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_MethodWithDefaults2(const osg::StateAttribute *, getLastAppliedAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
I_Method3(void, haveAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value);
|
||||
I_Method2(void, haveAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_Method2(void, haveAppliedTextureAttribute, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute);
|
||||
I_MethodWithDefaults3(void, haveAppliedTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
I_Method2(bool, getLastAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_MethodWithDefaults3(const osg::StateAttribute *, getLastAppliedTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
I_Method0(void, dirtyAllModes);
|
||||
I_Method0(void, dirtyAllAttributes);
|
||||
I_Method0(void, disableAllVertexArrays);
|
||||
I_Method0(void, dirtyAllVertexArrays);
|
||||
I_Method3(void, setInterleavedArrays, IN, GLenum, format, IN, GLsizei, stride, IN, const GLvoid *, pointer);
|
||||
I_Method4(void, setVertexPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
I_Method0(void, disableVertexPointer);
|
||||
I_Method0(void, dirtyVertexPointer);
|
||||
I_Method3(void, setNormalPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
I_Method0(void, disableNormalPointer);
|
||||
I_Method0(void, dirtyNormalPointer);
|
||||
I_Method4(void, setColorPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
I_Method0(void, disableColorPointer);
|
||||
I_Method0(void, dirtyColorPointer);
|
||||
I_Method0(bool, isSecondaryColorSupported);
|
||||
I_Method4(void, setSecondaryColorPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
I_Method0(void, disableSecondaryColorPointer);
|
||||
I_Method0(void, dirtySecondaryColorPointer);
|
||||
I_Method3(void, setIndexPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
I_Method0(void, disableIndexPointer);
|
||||
I_Method0(void, dirtyIndexPointer);
|
||||
I_Method0(bool, isFogCoordSupported);
|
||||
I_Method3(void, setFogCoordPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
I_Method0(void, disableFogCoordPointer);
|
||||
I_Method0(void, dirtyFogCoordPointer);
|
||||
I_Method5(void, setTexCoordPointer, IN, unsigned int, unit, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
I_Method1(void, disableTexCoordPointer, IN, unsigned int, unit);
|
||||
I_Method1(void, dirtyTexCoordPointer, IN, unsigned int, unit);
|
||||
I_Method1(void, disableTexCoordPointersAboveAndIncluding, IN, unsigned int, unit);
|
||||
I_Method1(void, dirtyTexCoordPointersAboveAndIncluding, IN, unsigned int, unit);
|
||||
I_Method1(bool, setActiveTextureUnit, IN, unsigned int, unit);
|
||||
I_Method0(unsigned int, getActiveTextureUnit);
|
||||
I_Method1(bool, setClientActiveTextureUnit, IN, unsigned int, unit);
|
||||
I_Method0(unsigned int, getClientActiveTextureUnit);
|
||||
I_Method6(void, setVertexAttribPointer, IN, unsigned int, index, IN, GLint, size, IN, GLenum, type, IN, GLboolean, normalized, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
I_Method1(void, disableVertexAttribPointer, IN, unsigned int, index);
|
||||
I_Method1(void, disableVertexAttribPointersAboveAndIncluding, IN, unsigned int, index);
|
||||
I_Method1(void, dirtyVertexAttribPointersAboveAndIncluding, IN, unsigned int, index);
|
||||
I_Method0(bool, isVertexBufferObjectSupported);
|
||||
I_Method1(void, setLastAppliedProgramObject, IN, const osg::Program::PerContextProgram *, program);
|
||||
I_Method0(const osg::Program::PerContextProgram *, getLastAppliedProgramObject);
|
||||
I_Method1(GLint, getUniformLocation, IN, const std::string &, name);
|
||||
I_Method1(GLint, getAttribLocation, IN, const std::string &, name);
|
||||
I_Method1(void, setContextID, IN, unsigned int, contextID);
|
||||
I_Method0(unsigned int, getContextID);
|
||||
I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs);
|
||||
I_Method0(const osg::FrameStamp *, getFrameStamp);
|
||||
I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, vs);
|
||||
I_Method0(const osg::DisplaySettings *, getDisplaySettings);
|
||||
I_Method1(void, setAbortRenderingPtr, IN, bool *, abortPtr);
|
||||
I_Method0(bool, getAbortRendering);
|
||||
I_Method1(void, setCheckForGLErrors, IN, osg::State::CheckForGLErrors, check);
|
||||
I_Method0(osg::State::CheckForGLErrors, getCheckForGLErrors);
|
||||
I_Method1(bool, checkGLErrors, IN, const char *, str);
|
||||
I_Method1(bool, checkGLErrors, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_Method1(bool, checkGLErrors, IN, const osg::StateAttribute *, attribute);
|
||||
I_ReadOnlyProperty(bool, AbortRendering);
|
||||
I_WriteOnlyProperty(bool *, AbortRenderingPtr);
|
||||
I_PropertyWithReturnType(unsigned int, ActiveTextureUnit, bool);
|
||||
I_Property(osg::State::CheckForGLErrors, CheckForGLErrors);
|
||||
I_PropertyWithReturnType(unsigned int, ClientActiveTextureUnit, bool);
|
||||
I_Property(unsigned int, ContextID);
|
||||
I_ReadOnlyProperty(const osg::Viewport *, CurrentViewport);
|
||||
I_WriteOnlyProperty(osg::DisplaySettings *, DisplaySettings);
|
||||
I_WriteOnlyProperty(osg::FrameStamp *, FrameStamp);
|
||||
I_WriteOnlyProperty(const osg::StateAttribute *, GlobalDefaultAttribute);
|
||||
I_IndexedProperty1(bool, GlobalDefaultModeValue, osg::StateAttribute::GLMode, mode);
|
||||
I_IndexedProperty2(bool, GlobalDefaultTextureModeValue, unsigned int, unit, osg::StateAttribute::GLMode, mode);
|
||||
I_ReadOnlyProperty(const osg::Matrix &, InitialInverseViewMatrix);
|
||||
I_WriteOnlyProperty(const osg::RefMatrix *, InitialViewMatrix);
|
||||
I_Property(const osg::Program::PerContextProgram *, LastAppliedProgramObject);
|
||||
I_ReadOnlyProperty(const osg::Matrix &, ModelViewMatrix);
|
||||
I_ReadOnlyProperty(const osg::Matrix &, ProjectionMatrix);
|
||||
I_ReadOnlyProperty(osg::Polytope, ViewFrustum);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user