📄 uniform.cpp
字号:
""); I_Method2(bool, getElement, IN, unsigned int, index, IN, float &, f, Properties::NON_VIRTUAL, __bool__getElement__unsigned_int__float_R1, "value query for array uniforms ", ""); I_Method2(bool, getElement, IN, unsigned int, index, IN, int &, i, Properties::NON_VIRTUAL, __bool__getElement__unsigned_int__int_R1, "", ""); I_Method2(bool, getElement, IN, unsigned int, index, IN, bool &, b, Properties::NON_VIRTUAL, __bool__getElement__unsigned_int__bool_R1, "", ""); I_Method2(bool, getElement, IN, unsigned int, index, IN, osg::Vec2 &, v2, Properties::NON_VIRTUAL, __bool__getElement__unsigned_int__osg_Vec2_R1, "", ""); I_Method2(bool, getElement, IN, unsigned int, index, IN, osg::Vec3 &, v3, Properties::NON_VIRTUAL, __bool__getElement__unsigned_int__osg_Vec3_R1, "", ""); I_Method2(bool, getElement, IN, unsigned int, index, IN, osg::Vec4 &, v4, Properties::NON_VIRTUAL, __bool__getElement__unsigned_int__osg_Vec4_R1, "", ""); I_Method2(bool, getElement, IN, unsigned int, index, IN, osg::Matrix2 &, m2, Properties::NON_VIRTUAL, __bool__getElement__unsigned_int__osg_Matrix2_R1, "", ""); I_Method2(bool, getElement, IN, unsigned int, index, IN, osg::Matrix3 &, m3, Properties::NON_VIRTUAL, __bool__getElement__unsigned_int__osg_Matrix3_R1, "", ""); I_Method2(bool, getElement, IN, unsigned int, index, IN, osg::Matrixf &, m4, Properties::NON_VIRTUAL, __bool__getElement__unsigned_int__osg_Matrixf_R1, "", ""); I_Method2(bool, getElement, IN, unsigned int, index, IN, osg::Matrixd &, m4, Properties::NON_VIRTUAL, __bool__getElement__unsigned_int__osg_Matrixd_R1, "", ""); I_Method3(bool, getElement, IN, unsigned int, index, IN, int &, i0, IN, int &, i1, Properties::NON_VIRTUAL, __bool__getElement__unsigned_int__int_R1__int_R1, "", ""); I_Method4(bool, getElement, IN, unsigned int, index, IN, int &, i0, IN, int &, i1, IN, int &, i2, Properties::NON_VIRTUAL, __bool__getElement__unsigned_int__int_R1__int_R1__int_R1, "", ""); I_Method5(bool, getElement, IN, unsigned int, index, IN, int &, i0, IN, int &, i1, IN, int &, i2, IN, int &, i3, Properties::NON_VIRTUAL, __bool__getElement__unsigned_int__int_R1__int_R1__int_R1__int_R1, "", ""); I_Method3(bool, getElement, IN, unsigned int, index, IN, bool &, b0, IN, bool &, b1, Properties::NON_VIRTUAL, __bool__getElement__unsigned_int__bool_R1__bool_R1, "", ""); I_Method4(bool, getElement, IN, unsigned int, index, IN, bool &, b0, IN, bool &, b1, IN, bool &, b2, Properties::NON_VIRTUAL, __bool__getElement__unsigned_int__bool_R1__bool_R1__bool_R1, "", ""); I_Method5(bool, getElement, IN, unsigned int, index, IN, bool &, b0, IN, bool &, b1, IN, bool &, b2, IN, bool &, b3, Properties::NON_VIRTUAL, __bool__getElement__unsigned_int__bool_R1__bool_R1__bool_R1__bool_R1, "", ""); I_Method1(void, setUpdateCallback, IN, osg::Uniform::Callback *, uc, Properties::NON_VIRTUAL, __void__setUpdateCallback__Callback_P1, "Set the UpdateCallback which allows users to attach customize the updating of an object during the update traversal. ", ""); I_Method0(osg::Uniform::Callback *, getUpdateCallback, Properties::NON_VIRTUAL, __Callback_P1__getUpdateCallback, "Get the non const UpdateCallback. ", ""); I_Method0(const osg::Uniform::Callback *, getUpdateCallback, Properties::NON_VIRTUAL, __C5_Callback_P1__getUpdateCallback, "Get the const UpdateCallback. ", ""); I_Method1(void, setEventCallback, IN, osg::Uniform::Callback *, ec, Properties::NON_VIRTUAL, __void__setEventCallback__Callback_P1, "Set the EventCallback which allows users to attach customize the updating of an object during the Event traversal. ", ""); I_Method0(osg::Uniform::Callback *, getEventCallback, Properties::NON_VIRTUAL, __Callback_P1__getEventCallback, "Get the non const EventCallback. ", ""); I_Method0(const osg::Uniform::Callback *, getEventCallback, Properties::NON_VIRTUAL, __C5_Callback_P1__getEventCallback, "Get the const EventCallback. ", ""); I_Method0(void, dirty, Properties::NON_VIRTUAL, __void__dirty, "Increment the modified count on the Uniform so Programs watching it know it update themselves. ", "NOTE: automatically called during osg::Uniform::set*(); you must call if modifying the internal data array directly. "); I_Method1(bool, setArray, IN, osg::FloatArray *, array, Properties::NON_VIRTUAL, __bool__setArray__FloatArray_P1, "Set the internal data array for a osg::Uniform. ", ""); I_Method1(bool, setArray, IN, osg::IntArray *, array, Properties::NON_VIRTUAL, __bool__setArray__IntArray_P1, "", ""); I_Method0(osg::FloatArray *, getFloatArray, Properties::NON_VIRTUAL, __FloatArray_P1__getFloatArray, "Get the internal data array for a float osg::Uniform. ", ""); I_Method0(const osg::FloatArray *, getFloatArray, Properties::NON_VIRTUAL, __C5_FloatArray_P1__getFloatArray, "", ""); I_Method0(osg::IntArray *, getIntArray, Properties::NON_VIRTUAL, __IntArray_P1__getIntArray, "Get the internal data array for an int osg::Uniform. ", ""); I_Method0(const osg::IntArray *, getIntArray, Properties::NON_VIRTUAL, __C5_IntArray_P1__getIntArray, "", ""); I_Method1(void, setModifiedCount, IN, unsigned int, mc, Properties::NON_VIRTUAL, __void__setModifiedCount__unsigned_int, "", ""); I_Method0(unsigned int, getModifiedCount, Properties::NON_VIRTUAL, __unsigned_int__getModifiedCount, "", ""); I_Method2(void, apply, IN, const osg::GL2Extensions *, ext, IN, GLint, location, Properties::NON_VIRTUAL, __void__apply__C5_GL2Extensions_P1__GLint, "", ""); I_StaticMethod1(const char *, getTypename, IN, osg::Uniform::Type, t, __C5_char_P1__getTypename__Type_S, "Return the name of a Type enum as string. ", ""); I_StaticMethod1(int, getTypeNumComponents, IN, osg::Uniform::Type, t, __int__getTypeNumComponents__Type_S, "Return the the number of components for a GLSL type. ", ""); I_StaticMethod1(osg::Uniform::Type, getTypeId, IN, const std::string &, tname, __Uniform_Type__getTypeId__C5_std_string_R1_S, "Return the Type enum of a Uniform typename string. ", ""); I_StaticMethod1(osg::Uniform::Type, getGlApiType, IN, osg::Uniform::Type, t, __Type__getGlApiType__Type_S, "Return the GL API type corresponding to a GLSL type. ", ""); I_StaticMethod1(GLenum, getInternalArrayType, IN, osg::Uniform::Type, t, __GLenum__getInternalArrayType__Type_S, "Return the internal data array type corresponding to a GLSL type. ", ""); I_ProtectedMethod1(bool, isCompatibleType, IN, osg::Uniform::Type, t, Properties::NON_VIRTUAL, Properties::CONST, __bool__isCompatibleType__Type, "", ""); I_ProtectedMethod0(bool, isScalar, Properties::NON_VIRTUAL, Properties::CONST, __bool__isScalar, "", ""); I_ProtectedMethod0(void, allocateDataArray, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__allocateDataArray, "", ""); I_ProtectedMethod1(void, addParent, IN, osg::StateSet *, object, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__addParent__osg_StateSet_P1, "", ""); I_ProtectedMethod1(void, removeParent, IN, osg::StateSet *, object, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__removeParent__osg_StateSet_P1, "", ""); I_SimpleProperty(osg::FloatArray *, Array, 0, __bool__setArray__FloatArray_P1); I_ArrayProperty(bool, Element, 0, __bool__setElement__unsigned_int__bool, __unsigned_int__getNumElements, 0, 0, 0); I_SimpleProperty(osg::Uniform::Callback *, EventCallback, __Callback_P1__getEventCallback, __void__setEventCallback__Callback_P1); I_SimpleProperty(osg::FloatArray *, FloatArray, __FloatArray_P1__getFloatArray, 0); I_SimpleProperty(osg::IntArray *, IntArray, __IntArray_P1__getIntArray, 0); I_SimpleProperty(unsigned int, InternalArrayNumElements, __unsigned_int__getInternalArrayNumElements, 0); I_SimpleProperty(unsigned int, ModifiedCount, __unsigned_int__getModifiedCount, __void__setModifiedCount__unsigned_int); I_SimpleProperty(const std::string &, Name, 0, __void__setName__C5_std_string_R1); I_SimpleProperty(unsigned int, NumElements, 0, __void__setNumElements__unsigned_int); I_ArrayProperty(osg::StateSet *, Parent, __StateSet_P1__getParent__unsigned_int, 0, __unsigned_int__getNumParents, 0, 0, 0); I_SimpleProperty(osg::Uniform::ParentList, Parents, __ParentList__getParents, 0); I_SimpleProperty(osg::Uniform::Type, Type, __Type__getType, __bool__setType__Type); I_SimpleProperty(osg::Uniform::Callback *, UpdateCallback, __Callback_P1__getUpdateCallback, __void__setUpdateCallback__Callback_P1);END_REFLECTORBEGIN_OBJECT_REFLECTOR(osg::Uniform::Callback) I_DeclaringFile("osg/Uniform"); I_VirtualBaseType(osg::Object); I_Constructor0(____Callback, "", ""); I_Constructor2(IN, const osg::Uniform::Callback &, x, IN, const osg::CopyOp &, x, ____Callback__C5_Callback_R1__C5_CopyOp_R1, "", ""); I_Method0(osg::Object *, cloneType, Properties::VIRTUAL, __osg_Object_P1__cloneType, "Clone the type of an object, with Object* return type. ", "Must be defined by derived classes. "); I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, Properties::VIRTUAL, __osg_Object_P1__clone__C5_osg_CopyOp_R1, "Clone an object, with Object* return type. ", "Must be defined by derived classes. "); I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, Properties::VIRTUAL, __bool__isSameKindAs__C5_osg_Object_P1, "", ""); I_Method0(const char *, libraryName, Properties::VIRTUAL, __C5_char_P1__libraryName, "return the name of the object's library. ", "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); I_Method0(const char *, className, Properties::VIRTUAL, __C5_char_P1__className, "return the name of the object's class type. ", "Must be defined by derived classes. ");END_REFLECTOR
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -