58 lines
2.1 KiB
C++
58 lines
2.1 KiB
C++
// ***************************************************************************
|
|
//
|
|
// Generated automatically by genwrapper.
|
|
// Please DO NOT EDIT this file!
|
|
//
|
|
// ***************************************************************************
|
|
|
|
#include <osgIntrospection/ReflectionMacros>
|
|
#include <osgIntrospection/TypedMethodInfo>
|
|
#include <osgIntrospection/Attributes>
|
|
|
|
#include <osg/CopyOp>
|
|
#include <osg/Depth>
|
|
#include <osg/Object>
|
|
#include <osg/State>
|
|
#include <osg/StateAttribute>
|
|
|
|
BEGIN_ENUM_REFLECTOR(osg::Depth::Function)
|
|
EnumLabel(osg::Depth::NEVER);
|
|
EnumLabel(osg::Depth::LESS);
|
|
EnumLabel(osg::Depth::EQUAL);
|
|
EnumLabel(osg::Depth::LEQUAL);
|
|
EnumLabel(osg::Depth::GREATER);
|
|
EnumLabel(osg::Depth::NOTEQUAL);
|
|
EnumLabel(osg::Depth::GEQUAL);
|
|
EnumLabel(osg::Depth::ALWAYS);
|
|
END_REFLECTOR
|
|
|
|
BEGIN_OBJECT_REFLECTOR(osg::Depth)
|
|
BaseType(osg::StateAttribute);
|
|
ConstructorWithDefaults4(IN, osg::Depth::Function, func, osg::Depth::LESS, IN, double, zNear, 0.0, IN, double, zFar, 1.0, IN, bool, writeMask, true);
|
|
ConstructorWithDefaults2(IN, const osg::Depth &, dp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
|
Method0(osg::Object *, cloneType);
|
|
Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
|
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
|
Method0(const char *, libraryName);
|
|
Method0(const char *, className);
|
|
Method0(osg::StateAttribute::Type, getType);
|
|
Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
|
Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
|
Method1(void, setFunction, IN, osg::Depth::Function, func);
|
|
Method0(osg::Depth::Function, getFunction);
|
|
Method2(void, setRange, IN, double, zNear, IN, double, zFar);
|
|
Method1(void, setZNear, IN, double, zNear);
|
|
Method0(double, getZNear);
|
|
Method1(void, setZFar, IN, double, zFar);
|
|
Method0(double, getZFar);
|
|
Method1(void, setWriteMask, IN, bool, mask);
|
|
Method0(bool, getWriteMask);
|
|
Method1(void, apply, IN, osg::State &, state);
|
|
Property(osg::Depth::Function, Function);
|
|
ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
|
Property(bool, WriteMask);
|
|
Property(double, ZFar);
|
|
Property(double, ZNear);
|
|
END_REFLECTOR
|
|
|