Updated wrappers
This commit is contained in:
parent
f5d425cd11
commit
2e7e114aba
@ -483,10 +483,18 @@ SOURCE=..\..\..\src\osgWrappers\osg\StateAttribute.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\StateSet.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Stats.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Stencil.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\StencilTwoSided.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Switch.cpp
|
||||
# End Source File
|
||||
|
@ -213,7 +213,7 @@ public:
|
||||
|
||||
switch(ea.getEventType())
|
||||
{
|
||||
case(osgGA::GUIEventAdapter::KEYUP):
|
||||
case(osgGA::GUIEventAdapter::KEYDOWN):
|
||||
{
|
||||
if (ea.getKey()=='s')
|
||||
{
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/Stats>
|
||||
#include <osg/Texture>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec4>
|
||||
@ -116,6 +117,18 @@ BEGIN_OBJECT_REFLECTOR(osg::Camera)
|
||||
__C5_View_P1__getView,
|
||||
"Get the const View that this Camera is part of. ",
|
||||
"");
|
||||
I_Method1(void, setStats, IN, osg::Stats *, stats,
|
||||
__void__setStats__osg_Stats_P1,
|
||||
"Set the Stats object used for collect various frame related timing and scene graph stats. ",
|
||||
"");
|
||||
I_Method0(osg::Stats *, getStats,
|
||||
__osg_Stats_P1__getStats,
|
||||
"Get the Stats object. ",
|
||||
"");
|
||||
I_Method0(const osg::Stats *, getStats,
|
||||
__C5_osg_Stats_P1__getStats,
|
||||
"Get the const Stats object. ",
|
||||
"");
|
||||
I_Method1(void, setClearColor, IN, const osg::Vec4 &, color,
|
||||
__void__setClearColor__C5_Vec4_R1,
|
||||
"Sets the clear color. ",
|
||||
@ -421,6 +434,9 @@ BEGIN_OBJECT_REFLECTOR(osg::Camera)
|
||||
__osg_Object_P1__getRenderingCache__unsigned_int,
|
||||
__void__setRenderingCache__unsigned_int__osg_Object_P1,
|
||||
0);
|
||||
I_SimpleProperty(osg::Stats *, Stats,
|
||||
__osg_Stats_P1__getStats,
|
||||
__void__setStats__osg_Stats_P1);
|
||||
I_SimpleProperty(osg::Camera::TransformOrder, TransformOrder,
|
||||
__TransformOrder__getTransformOrder,
|
||||
__void__setTransformOrder__TransformOrder);
|
||||
|
@ -728,6 +728,14 @@ BEGIN_OBJECT_REFLECTOR(osg::Drawable::Extensions)
|
||||
__bool__isARBOcclusionQuerySupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTimerQuerySupported, IN, bool, flag,
|
||||
__void__setTimerQuerySupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTimerQuerySupported,
|
||||
__bool__isTimerQuerySupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, glSecondaryColor3ubv, IN, const GLubyte *, coord,
|
||||
__void__glSecondaryColor3ubv__C5_GLubyte_P1,
|
||||
"",
|
||||
@ -888,6 +896,10 @@ BEGIN_OBJECT_REFLECTOR(osg::Drawable::Extensions)
|
||||
__void__glGetQueryObjectuiv__GLuint__GLenum__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glGetQueryObjectui64v, IN, GLuint, id, IN, GLenum, pname, IN, GLuint64EXT *, params,
|
||||
__void__glGetQueryObjectui64v__GLuint__GLenum__GLuint64EXT_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, ARBOcclusionQuerySupported,
|
||||
0,
|
||||
__void__setARBOcclusionQuerySupported__bool);
|
||||
@ -903,6 +915,9 @@ BEGIN_OBJECT_REFLECTOR(osg::Drawable::Extensions)
|
||||
I_SimpleProperty(bool, SecondaryColorSupported,
|
||||
0,
|
||||
__void__setSecondaryColorSupported__bool);
|
||||
I_SimpleProperty(bool, TimerQuerySupported,
|
||||
0,
|
||||
__void__setTimerQuerySupported__bool);
|
||||
I_SimpleProperty(bool, VertexProgramSupported,
|
||||
0,
|
||||
__void__setVertexProgramSupported__bool);
|
||||
|
@ -99,7 +99,9 @@ CXXFILES =\
|
||||
State.cpp\
|
||||
StateAttribute.cpp\
|
||||
StateSet.cpp\
|
||||
Stats.cpp\
|
||||
Stencil.cpp\
|
||||
StencilTwoSided.cpp\
|
||||
Switch.cpp\
|
||||
TexEnv.cpp\
|
||||
TexEnvCombine.cpp\
|
||||
|
87
src/osgWrappers/osg/Stats.cpp
Normal file
87
src/osgWrappers/osg/Stats.cpp
Normal file
@ -0,0 +1,87 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Stats>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA double >, osg::Stats::AttributeMap);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Stats::AttributeMap >, osg::Stats::AttributeMapList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Stats)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_ConstructorWithDefaults2(IN, const std::string &, name, , IN, unsigned int, numberOfFrames, 100,
|
||||
____Stats__C5_std_string_R1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setName, IN, const std::string &, name,
|
||||
__void__setName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getName,
|
||||
__C5_std_string_R1__getName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, allocate, IN, unsigned int, numberOfFrames,
|
||||
__void__allocate__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getEarliestFrameNumber,
|
||||
__int__getEarliestFrameNumber,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getLatestFrameNumber,
|
||||
__int__getLatestFrameNumber,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, setAttribute, IN, int, frameNumber, IN, const std::string &, attributeName, IN, double, value,
|
||||
__bool__setAttribute__int__C5_std_string_R1__double,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, getAttribute, IN, int, frameNumber, IN, const std::string &, attributeName, IN, double &, value,
|
||||
__bool__getAttribute__int__C5_std_string_R1__double_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Stats::AttributeMap &, getAttributeMap, IN, int, frameNumber,
|
||||
__AttributeMap_R1__getAttributeMap__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Stats::AttributeMap &, getAttributeMap, IN, int, frameNumber,
|
||||
__C5_AttributeMap_R1__getAttributeMap__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, report, IN, std::ostream &, out,
|
||||
__void__report__std_ostream_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(int, EarliestFrameNumber,
|
||||
__int__getEarliestFrameNumber,
|
||||
0);
|
||||
I_SimpleProperty(int, LatestFrameNumber,
|
||||
__int__getLatestFrameNumber,
|
||||
0);
|
||||
I_SimpleProperty(const std::string &, Name,
|
||||
__C5_std_string_R1__getName,
|
||||
__void__setName__C5_std_string_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< std::string COMMA double >);
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::Stats::AttributeMap >);
|
||||
|
@ -42,6 +42,8 @@ BEGIN_ENUM_REFLECTOR(osg::Stencil::Operation)
|
||||
I_EnumLabel(osg::Stencil::INCR);
|
||||
I_EnumLabel(osg::Stencil::DECR);
|
||||
I_EnumLabel(osg::Stencil::INVERT);
|
||||
I_EnumLabel(osg::Stencil::INCR_WRAP);
|
||||
I_EnumLabel(osg::Stencil::DECR_WRAP);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Stencil)
|
||||
|
238
src/osgWrappers/osg/StencilTwoSided.cpp
Normal file
238
src/osgWrappers/osg/StencilTwoSided.cpp
Normal file
@ -0,0 +1,238 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/StencilTwoSided>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::StencilTwoSided::Face)
|
||||
I_EnumLabel(osg::StencilTwoSided::FRONT);
|
||||
I_EnumLabel(osg::StencilTwoSided::BACK);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::StencilTwoSided::Function)
|
||||
I_EnumLabel(osg::StencilTwoSided::NEVER);
|
||||
I_EnumLabel(osg::StencilTwoSided::LESS);
|
||||
I_EnumLabel(osg::StencilTwoSided::EQUAL);
|
||||
I_EnumLabel(osg::StencilTwoSided::LEQUAL);
|
||||
I_EnumLabel(osg::StencilTwoSided::GREATER);
|
||||
I_EnumLabel(osg::StencilTwoSided::NOTEQUAL);
|
||||
I_EnumLabel(osg::StencilTwoSided::GEQUAL);
|
||||
I_EnumLabel(osg::StencilTwoSided::ALWAYS);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::StencilTwoSided::Operation)
|
||||
I_EnumLabel(osg::StencilTwoSided::KEEP);
|
||||
I_EnumLabel(osg::StencilTwoSided::ZERO);
|
||||
I_EnumLabel(osg::StencilTwoSided::REPLACE);
|
||||
I_EnumLabel(osg::StencilTwoSided::INCR);
|
||||
I_EnumLabel(osg::StencilTwoSided::DECR);
|
||||
I_EnumLabel(osg::StencilTwoSided::INVERT);
|
||||
I_EnumLabel(osg::StencilTwoSided::INCR_WRAP);
|
||||
I_EnumLabel(osg::StencilTwoSided::DECR_WRAP);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::StencilTwoSided)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____StencilTwoSided,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::StencilTwoSided &, stencil, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____StencilTwoSided__C5_StencilTwoSided_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setFunction, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Function, func, IN, int, ref, IN, unsigned int, mask,
|
||||
__void__setFunction__Face__Function__int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setFunction, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Function, func,
|
||||
__void__setFunction__Face__Function,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::StencilTwoSided::Function, getFunction, IN, osg::StencilTwoSided::Face, face,
|
||||
__Function__getFunction__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setFunctionRef, IN, osg::StencilTwoSided::Face, face, IN, int, ref,
|
||||
__void__setFunctionRef__Face__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, getFunctionRef, IN, osg::StencilTwoSided::Face, face,
|
||||
__int__getFunctionRef__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setFunctionMask, IN, osg::StencilTwoSided::Face, face, IN, unsigned int, mask,
|
||||
__void__setFunctionMask__Face__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, getFunctionMask, IN, osg::StencilTwoSided::Face, face,
|
||||
__unsigned_int__getFunctionMask__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, sfail, IN, osg::StencilTwoSided::Operation, zfail, IN, osg::StencilTwoSided::Operation, zpass,
|
||||
__void__setOperation__Face__Operation__Operation__Operation,
|
||||
"set the operations to apply when the various stencil and depth tests fail or pass. ",
|
||||
"First parameter is to control the operation when the stencil test fails. The second parameter is to control the operation when the stencil test passes, but depth test fails. The third parameter controls the operation when both the stencil test and depth pass. Ordering of parameter is the same as if using glStencilOp(,,). ");
|
||||
I_Method2(void, setStencilFailOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, sfail,
|
||||
__void__setStencilFailOperation__Face__Operation,
|
||||
"set the operation when the stencil test fails. ",
|
||||
"");
|
||||
I_Method1(osg::StencilTwoSided::Operation, getStencilFailOperation, IN, osg::StencilTwoSided::Face, face,
|
||||
__Operation__getStencilFailOperation__Face,
|
||||
"get the operation when the stencil test fails. ",
|
||||
"");
|
||||
I_Method2(void, setStencilPassAndDepthFailOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, zfail,
|
||||
__void__setStencilPassAndDepthFailOperation__Face__Operation,
|
||||
"set the operation when the stencil test passes but the depth test fails. ",
|
||||
"");
|
||||
I_Method1(osg::StencilTwoSided::Operation, getStencilPassAndDepthFailOperation, IN, osg::StencilTwoSided::Face, face,
|
||||
__Operation__getStencilPassAndDepthFailOperation__Face,
|
||||
"get the operation when the stencil test passes but the depth test fails. ",
|
||||
"");
|
||||
I_Method2(void, setStencilPassAndDepthPassOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, zpass,
|
||||
__void__setStencilPassAndDepthPassOperation__Face__Operation,
|
||||
"set the operation when both the stencil test and the depth test pass. ",
|
||||
"");
|
||||
I_Method1(osg::StencilTwoSided::Operation, getStencilPassAndDepthPassOperation, IN, osg::StencilTwoSided::Face, face,
|
||||
__Operation__getStencilPassAndDepthPassOperation__Face,
|
||||
"get the operation when both the stencil test and the depth test pass. ",
|
||||
"");
|
||||
I_Method2(void, setWriteMask, IN, osg::StencilTwoSided::Face, face, IN, unsigned int, mask,
|
||||
__void__setWriteMask__Face__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, getWriteMask, IN, osg::StencilTwoSided::Face, face,
|
||||
__unsigned_int__getWriteMask__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_StaticMethod2(osg::StencilTwoSided::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Function to call to get the extension of a specified context. ",
|
||||
"If the Exentsion object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID.");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::StencilTwoSided::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"The setExtensions method allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.");
|
||||
I_IndexedProperty(osg::StencilTwoSided::Function, Function,
|
||||
__Function__getFunction__Face,
|
||||
__void__setFunction__Face__Function,
|
||||
0);
|
||||
I_IndexedProperty(unsigned int, FunctionMask,
|
||||
__unsigned_int__getFunctionMask__Face,
|
||||
__void__setFunctionMask__Face__unsigned_int,
|
||||
0);
|
||||
I_IndexedProperty(int, FunctionRef,
|
||||
__int__getFunctionRef__Face,
|
||||
__void__setFunctionRef__Face__int,
|
||||
0);
|
||||
I_IndexedProperty(osg::StencilTwoSided::Operation, StencilFailOperation,
|
||||
__Operation__getStencilFailOperation__Face,
|
||||
__void__setStencilFailOperation__Face__Operation,
|
||||
0);
|
||||
I_IndexedProperty(osg::StencilTwoSided::Operation, StencilPassAndDepthFailOperation,
|
||||
__Operation__getStencilPassAndDepthFailOperation__Face,
|
||||
__void__setStencilPassAndDepthFailOperation__Face__Operation,
|
||||
0);
|
||||
I_IndexedProperty(osg::StencilTwoSided::Operation, StencilPassAndDepthPassOperation,
|
||||
__Operation__getStencilPassAndDepthPassOperation__Face,
|
||||
__void__setStencilPassAndDepthPassOperation__Face__Operation,
|
||||
0);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
I_IndexedProperty(unsigned int, WriteMask,
|
||||
__unsigned_int__getWriteMask__Face,
|
||||
__void__setWriteMask__Face__unsigned_int,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::StencilTwoSided::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::StencilTwoSided::Extensions &, rhs,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::StencilTwoSided::Extensions &, rhs,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStencilTwoSidedSupported, IN, bool, flag,
|
||||
__void__setStencilTwoSidedSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isStencilTwoSidedSupported,
|
||||
__bool__isStencilTwoSidedSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, glActiveStencilFace, IN, GLenum, face,
|
||||
__void__glActiveStencilFace__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, StencilTwoSidedSupported,
|
||||
0,
|
||||
__void__setStencilTwoSidedSupported__bool);
|
||||
END_REFLECTOR
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <osg/Camera>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Stats>
|
||||
#include <osg/View>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@ -28,6 +29,18 @@ BEGIN_OBJECT_REFLECTOR(osg::View)
|
||||
I_Constructor0(____View,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStats, IN, osg::Stats *, stats,
|
||||
__void__setStats__osg_Stats_P1,
|
||||
"Set the Stats object used for collect various frame related timing and scene graph stats. ",
|
||||
"");
|
||||
I_Method0(osg::Stats *, getStats,
|
||||
__osg_Stats_P1__getStats,
|
||||
"Get the Stats object. ",
|
||||
"");
|
||||
I_Method0(const osg::Stats *, getStats,
|
||||
__C5_osg_Stats_P1__getStats,
|
||||
"Get the const Stats object. ",
|
||||
"");
|
||||
I_Method1(void, setCamera, IN, osg::Camera *, camera,
|
||||
__void__setCamera__osg_Camera_P1,
|
||||
"Set the master camera of the view. ",
|
||||
@ -86,6 +99,9 @@ BEGIN_OBJECT_REFLECTOR(osg::View)
|
||||
0,
|
||||
0,
|
||||
__bool__removeSlave__unsigned_int);
|
||||
I_SimpleProperty(osg::Stats *, Stats,
|
||||
__osg_Stats_P1__getStats,
|
||||
__void__setStats__osg_Stats_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::View::Slave)
|
||||
|
@ -107,6 +107,12 @@ TYPE_NAME_ALIAS(std::vector< osg::Vec3 >, osgShadow::ShadowVolumeGeometry::Vec3L
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< GLuint >, osgShadow::ShadowVolumeGeometry::UIntList);
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgShadow::ShadowVolumeGeometry::DrawMode)
|
||||
I_EnumLabel(osgShadow::ShadowVolumeGeometry::GEOMETRY);
|
||||
I_EnumLabel(osgShadow::ShadowVolumeGeometry::STENCIL_TWO_PASS);
|
||||
I_EnumLabel(osgShadow::ShadowVolumeGeometry::STENCIL_TWO_SIDED);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgShadow::ShadowVolumeGeometry)
|
||||
I_BaseType(osg::Drawable);
|
||||
I_Constructor0(____ShadowVolumeGeometry,
|
||||
@ -136,6 +142,14 @@ BEGIN_OBJECT_REFLECTOR(osgShadow::ShadowVolumeGeometry)
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setDrawMode, IN, osgShadow::ShadowVolumeGeometry::DrawMode, mode,
|
||||
__void__setDrawMode__DrawMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgShadow::ShadowVolumeGeometry::DrawMode, getDrawMode,
|
||||
__DrawMode__getDrawMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVertices, IN, const osgShadow::ShadowVolumeGeometry::Vec3List &, vertices,
|
||||
__void__setVertices__C5_Vec3List_R1,
|
||||
"",
|
||||
@ -168,6 +182,9 @@ BEGIN_OBJECT_REFLECTOR(osgShadow::ShadowVolumeGeometry)
|
||||
__osg_BoundingBox__computeBound,
|
||||
"Compute the bounding box around occluder geometry. ",
|
||||
"");
|
||||
I_SimpleProperty(osgShadow::ShadowVolumeGeometry::DrawMode, DrawMode,
|
||||
__DrawMode__getDrawMode,
|
||||
__void__setDrawMode__DrawMode);
|
||||
I_SimpleProperty(const osgShadow::ShadowVolumeGeometry::Vec3List &, Normals,
|
||||
__C5_Vec3List_R1__getNormals,
|
||||
__void__setNormals__C5_Vec3List_R1);
|
||||
|
Loading…
Reference in New Issue
Block a user