165 lines
9.5 KiB
C++
165 lines
9.5 KiB
C++
// ***************************************************************************
|
|
//
|
|
// Generated automatically by genwrapper.
|
|
// Please DO NOT EDIT this file!
|
|
//
|
|
// ***************************************************************************
|
|
|
|
#include <osgIntrospection/ReflectionMacros>
|
|
#include <osgIntrospection/TypedMethodInfo>
|
|
#include <osgIntrospection/Attributes>
|
|
|
|
#include <osg/DisplaySettings>
|
|
#include <osg/FrameStamp>
|
|
#include <osg/Matrix>
|
|
#include <osg/Polytope>
|
|
#include <osg/State>
|
|
#include <osg/StateAttribute>
|
|
#include <osg/StateSet>
|
|
#include <osg/Uniform>
|
|
#include <osg/Viewport>
|
|
|
|
TYPE_NAME_ALIAS(std::pair< const osg::StateAttribute * COMMA osg::StateAttribute::OverrideValue >, osg::State::AttributePair);
|
|
|
|
TYPE_NAME_ALIAS(std::vector< osg::State::AttributePair >, osg::State::AttributeVec);
|
|
|
|
TYPE_NAME_ALIAS(std::vector< osg::StateAttribute::GLModeValue >, osg::State::ValueVec);
|
|
|
|
TYPE_NAME_ALIAS(std::map< std::string COMMA osg::ref_ptr< osg::Uniform > >, osg::State::UniformMap);
|
|
|
|
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, 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, setReportGLErrors, IN, bool, flag);
|
|
Method0(bool, getReportGLErrors);
|
|
Method1(bool, checkGLErrors, IN, const char *, str);
|
|
Method1(bool, checkGLErrors, IN, osg::StateAttribute::GLMode, mode);
|
|
Method1(bool, checkGLErrors, IN, const osg::StateAttribute *, attribute);
|
|
Method1(const osg::Uniform *, findUniform, IN, const std::string &, name);
|
|
ReadOnlyProperty(bool, AbortRendering);
|
|
WriteOnlyProperty(bool *, AbortRenderingPtr);
|
|
PropertyWithReturnType(unsigned int, ActiveTextureUnit, bool);
|
|
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);
|
|
ReadOnlyProperty(const osg::Matrix &, ModelViewMatrix);
|
|
ReadOnlyProperty(const osg::Matrix &, ProjectionMatrix);
|
|
Property(bool, ReportGLErrors);
|
|
ReadOnlyProperty(osg::Polytope, ViewFrustum);
|
|
END_REFLECTOR
|
|
|
|
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Uniform >)
|
|
Constructor0();
|
|
Constructor1(IN, osg::Uniform *, t);
|
|
Constructor1(IN, const osg::ref_ptr< osg::Uniform > &, rp);
|
|
Method0(bool, valid);
|
|
Method0(osg::Uniform *, get);
|
|
Method0(const osg::Uniform *, get);
|
|
Method0(osg::Uniform *, take);
|
|
Method0(osg::Uniform *, release);
|
|
ReadOnlyProperty(osg::Uniform *, );
|
|
END_REFLECTOR
|
|
|
|
STD_MAP_REFLECTOR(std::map< std::string COMMA osg::ref_ptr< osg::Uniform > >);
|
|
|
|
STD_PAIR_REFLECTOR(std::pair< const osg::StateAttribute * COMMA osg::StateAttribute::OverrideValue >);
|
|
|
|
STD_VECTOR_REFLECTOR(std::vector< osg::State::AttributePair >);
|
|
|
|
STD_VECTOR_REFLECTOR(std::vector< osg::StateAttribute::GLModeValue >);
|
|
|