Updated wrappers
This commit is contained in:
parent
291d253161
commit
9819217136
@ -583,6 +583,21 @@ BEGIN_OBJECT_REFLECTOR(osg::GL2Extensions)
|
||||
__bool__getAttribLocation__C5_char_P1__GLuint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, getFragDataLocation, IN, const char *, fragDataName, IN, GLuint &, slot,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getFragDataLocation__C5_char_P1__GLuint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glBindFragDataLocation, IN, GLuint, program, IN, GLuint, colorNumber, IN, const GLchar *, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glBindFragDataLocation__GLuint__GLuint__C5_GLchar_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(GLint, glGetFragDataLocation, IN, GLuint, program, IN, const GLchar *, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__glGetFragDataLocation__GLuint__C5_GLchar_P1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::GL2Extensions *, Get, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__GL2Extensions_P1__Get__unsigned_int__bool_S,
|
||||
"Function to call to get the extension of a specified context. ",
|
||||
|
@ -28,6 +28,8 @@
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA GLuint >, osg::Program::AttribBindingList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA GLuint >, osg::Program::FragDataBindingList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA osg::Program::ActiveVarInfo >, osg::Program::ActiveVarInfoMap)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Program)
|
||||
@ -138,13 +140,28 @@ BEGIN_OBJECT_REFLECTOR(osg::Program)
|
||||
I_Method1(void, removeBindAttribLocation, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeBindAttribLocation__C5_std_string_R1,
|
||||
"Add an attribute location binding. ",
|
||||
"Remove an attribute location binding. ",
|
||||
"");
|
||||
I_Method2(void, addBindFragDataLocation, IN, const std::string &, name, IN, GLuint, index,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addBindFragDataLocation__C5_std_string_R1__GLuint,
|
||||
"Add an frag data location binding. ",
|
||||
"See EXT_gpu_shader4 for BindFragDataLocationEXT ");
|
||||
I_Method1(void, removeBindFragDataLocation, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeBindFragDataLocation__C5_std_string_R1,
|
||||
"Remove an frag data location binding. ",
|
||||
"");
|
||||
I_Method0(const osg::Program::AttribBindingList &, getAttribBindingList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_AttribBindingList_R1__getAttribBindingList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Program::FragDataBindingList &, getFragDataBindingList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_FragDataBindingList_R1__getFragDataBindingList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isFixedFunction,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isFixedFunction,
|
||||
@ -181,6 +198,9 @@ BEGIN_OBJECT_REFLECTOR(osg::Program)
|
||||
I_SimpleProperty(const osg::Program::AttribBindingList &, AttribBindingList,
|
||||
__C5_AttribBindingList_R1__getAttribBindingList,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Program::FragDataBindingList &, FragDataBindingList,
|
||||
__C5_FragDataBindingList_R1__getFragDataBindingList,
|
||||
0);
|
||||
I_ArrayProperty(osg::Shader *, Shader,
|
||||
__Shader_P1__getShader__unsigned_int,
|
||||
0,
|
||||
|
@ -12,6 +12,7 @@
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Uniform>
|
||||
#include <osg/Vec3d>
|
||||
#include <osgTerrain/GeometryTechnique>
|
||||
@ -44,6 +45,31 @@ BEGIN_OBJECT_REFLECTOR(osgTerrain::GeometryTechnique)
|
||||
____GeometryTechnique__C5_GeometryTechnique_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
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. ");
|
||||
I_Method0(void, init,
|
||||
Properties::VIRTUAL,
|
||||
__void__init,
|
||||
|
Loading…
Reference in New Issue
Block a user