📄 cullsettings.cpp
字号:
// ***************************************************************************//// Generated automatically by genwrapper.// Please DO NOT EDIT this file!//// ***************************************************************************#include <osgIntrospection/ReflectionMacros>#include <osgIntrospection/TypedMethodInfo>#include <osgIntrospection/StaticMethodInfo>#include <osgIntrospection/Attributes>#include <osg/ArgumentParser>#include <osg/CullSettings>#include <osg/Matrixd>#include <osg/Matrixf>#include <osg/Node>// Must undefine IN and OUT macros defined in Windows headers#ifdef IN#undef IN#endif#ifdef OUT#undef OUT#endifTYPE_NAME_ALIAS(unsigned int, osg::CullSettings::CullingMode)BEGIN_ENUM_REFLECTOR(osg::CullSettings::VariablesMask) I_DeclaringFile("osg/CullSettings"); I_EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_MODE); I_EnumLabel(osg::CullSettings::CULLING_MODE); I_EnumLabel(osg::CullSettings::LOD_SCALE); I_EnumLabel(osg::CullSettings::SMALL_FEATURE_CULLING_PIXEL_SIZE); I_EnumLabel(osg::CullSettings::CLAMP_PROJECTION_MATRIX_CALLBACK); I_EnumLabel(osg::CullSettings::NEAR_FAR_RATIO); I_EnumLabel(osg::CullSettings::IMPOSTOR_ACTIVE); I_EnumLabel(osg::CullSettings::DEPTH_SORT_IMPOSTOR_SPRITES); I_EnumLabel(osg::CullSettings::IMPOSTOR_PIXEL_ERROR_THRESHOLD); I_EnumLabel(osg::CullSettings::NUM_FRAMES_TO_KEEP_IMPOSTORS_SPRITES); I_EnumLabel(osg::CullSettings::CULL_MASK); I_EnumLabel(osg::CullSettings::CULL_MASK_LEFT); I_EnumLabel(osg::CullSettings::CULL_MASK_RIGHT); I_EnumLabel(osg::CullSettings::CLEAR_COLOR); I_EnumLabel(osg::CullSettings::LIGHTING_MODE); I_EnumLabel(osg::CullSettings::LIGHT); I_EnumLabel(osg::CullSettings::NO_VARIABLES); I_EnumLabel(osg::CullSettings::ALL_VARIABLES);END_REFLECTORBEGIN_ENUM_REFLECTOR(osg::CullSettings::InheritanceMaskActionOnAttributeSetting) I_DeclaringFile("osg/CullSettings"); I_EnumLabel(osg::CullSettings::DISABLE_ASSOCIATED_INHERITANCE_MASK_BIT); I_EnumLabel(osg::CullSettings::DO_NOT_MODIFY_INHERITANCE_MASK);END_REFLECTORBEGIN_ENUM_REFLECTOR(osg::CullSettings::ComputeNearFarMode) I_DeclaringFile("osg/CullSettings"); I_EnumLabel(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR); I_EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES); I_EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_USING_PRIMITIVES);END_REFLECTORBEGIN_ENUM_REFLECTOR(osg::CullSettings::CullingModeValues) I_DeclaringFile("osg/CullSettings"); I_EnumLabel(osg::CullSettings::NO_CULLING); I_EnumLabel(osg::CullSettings::VIEW_FRUSTUM_SIDES_CULLING); I_EnumLabel(osg::CullSettings::NEAR_PLANE_CULLING); I_EnumLabel(osg::CullSettings::FAR_PLANE_CULLING); I_EnumLabel(osg::CullSettings::VIEW_FRUSTUM_CULLING); I_EnumLabel(osg::CullSettings::SMALL_FEATURE_CULLING); I_EnumLabel(osg::CullSettings::SHADOW_OCCLUSION_CULLING); I_EnumLabel(osg::CullSettings::CLUSTER_CULLING); I_EnumLabel(osg::CullSettings::DEFAULT_CULLING); I_EnumLabel(osg::CullSettings::ENABLE_ALL_CULLING);END_REFLECTORBEGIN_VALUE_REFLECTOR(osg::CullSettings) I_DeclaringFile("osg/CullSettings"); I_Constructor0(____CullSettings, "", ""); I_Constructor1(IN, osg::ArgumentParser &, arguments, Properties::NON_EXPLICIT, ____CullSettings__ArgumentParser_R1, "", ""); I_Constructor1(IN, const osg::CullSettings &, cs, Properties::NON_EXPLICIT, ____CullSettings__C5_CullSettings_R1, "", ""); I_Method0(void, setDefaults, Properties::VIRTUAL, __void__setDefaults, "", ""); I_Method1(void, setInheritanceMask, IN, unsigned int, mask, Properties::NON_VIRTUAL, __void__setInheritanceMask__unsigned_int, "Set the inheritance mask used in inheritCullSettings to control which variables get overwritten by the passed in CullSettings object. ", ""); I_Method0(unsigned int, getInheritanceMask, Properties::NON_VIRTUAL, __unsigned_int__getInheritanceMask, "Get the inheritance mask used in inheritCullSettings to control which variables get overwritten by the passed in CullSettings object. ", ""); I_Method1(void, setCullSettings, IN, const osg::CullSettings &, settings, Properties::NON_VIRTUAL, __void__setCullSettings__C5_CullSettings_R1, "Set the local cull settings values from specified CullSettings object. ", ""); I_Method1(void, inheritCullSettings, IN, const osg::CullSettings &, settings, Properties::VIRTUAL, __void__inheritCullSettings__C5_CullSettings_R1, "Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ", ""); I_Method2(void, inheritCullSettings, IN, const osg::CullSettings &, settings, IN, unsigned int, inheritanceMask, Properties::VIRTUAL, __void__inheritCullSettings__C5_CullSettings_R1__unsigned_int, "Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ", ""); I_Method0(void, readEnvironmentalVariables, Properties::NON_VIRTUAL, __void__readEnvironmentalVariables, "read the environmental variables. ", ""); I_Method1(void, readCommandLine, IN, osg::ArgumentParser &, arguments, Properties::NON_VIRTUAL, __void__readCommandLine__ArgumentParser_R1, "read the commandline arguments. ", ""); I_Method1(void, setInheritanceMaskActionOnAttributeSetting, IN, osg::CullSettings::InheritanceMaskActionOnAttributeSetting, action, Properties::NON_VIRTUAL, __void__setInheritanceMaskActionOnAttributeSetting__InheritanceMaskActionOnAttributeSetting, "", ""); I_Method0(osg::CullSettings::InheritanceMaskActionOnAttributeSetting, getInheritanceMaskActionOnAttributeSetting, Properties::NON_VIRTUAL, __InheritanceMaskActionOnAttributeSetting__getInheritanceMaskActionOnAttributeSetting, "", ""); I_Method1(void, applyMaskAction, IN, unsigned int, maskBit, Properties::NON_VIRTUAL, __void__applyMaskAction__unsigned_int, "Apply the action, specified by the InheritanceMaskActionOnAttributeSetting, to apply to the inheritance bit mask. ", "This method is called by CullSettings::set*() parameter methods to ensure that CullSettings inheritance mechanisms doesn't overwrite the local parameter settings. "); I_Method1(void, setImpostorsActive, IN, bool, active, Properties::NON_VIRTUAL, __void__setImpostorsActive__bool, "Switch the creation of Impostors on or off. ", "Setting active to false forces the CullVisitor to use the Impostor LOD children for rendering. Setting active to true forces the CullVisitor to create the appropriate pre-rendering stages which render to the ImpostorSprite's texture. "); I_Method0(bool, getImpostorsActive, Properties::NON_VIRTUAL, __bool__getImpostorsActive, "Get whether impostors are active or not. ", ""); I_Method1(void, setImpostorPixelErrorThreshold, IN, float, numPixels, Properties::NON_VIRTUAL, __void__setImpostorPixelErrorThreshold__float, "Set the impostor error threshold. ", "Used in calculation of whether impostors remain valid. "); I_Method0(float, getImpostorPixelErrorThreshold, Properties::NON_VIRTUAL, __float__getImpostorPixelErrorThreshold, "Get the impostor error threshold. ", ""); I_Method1(void, setDepthSortImpostorSprites, IN, bool, doDepthSort, Properties::NON_VIRTUAL, __void__setDepthSortImpostorSprites__bool, "Set whether ImpostorSprite's should be placed in a depth sorted bin for rendering. ", ""); I_Method0(bool, getDepthSortImpostorSprites, Properties::NON_VIRTUAL, __bool__getDepthSortImpostorSprites, "Get whether ImpostorSprite's are depth sorted bin for rendering. ", ""); I_Method1(void, setNumberOfFrameToKeepImpostorSprites, IN, int, numFrames,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -