From Marco Jez, improvements to osgIntrospection, and new automatically generated
osgWrappers/osg set.
This commit is contained in:
77
src/osgWrappers/osg/FragmentProgram.cpp
Normal file
77
src/osgWrappers/osg/FragmentProgram.cpp
Normal file
@@ -0,0 +1,77 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/FragmentProgram>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/Vec4>
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< GLuint COMMA osg::Vec4 >, osg::FragmentProgram::LocalParamList);
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< GLenum COMMA osg::Matrix >, osg::FragmentProgram::MatrixList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram)
|
||||
BaseType(osg::StateAttribute);
|
||||
Constructor0();
|
||||
ConstructorWithDefaults2(IN, const osg::FragmentProgram &, vp, , 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(GLuint &, getFragmentProgramID, IN, unsigned int, contextID);
|
||||
Method1(void, setFragmentProgram, IN, const char *, program);
|
||||
Method1(void, setFragmentProgram, IN, const std::string &, program);
|
||||
Method0(const std::string &, getFragmentProgram);
|
||||
Method2(void, setProgramLocalParameter, IN, const GLuint, index, IN, const osg::Vec4 &, p);
|
||||
Method1(void, setLocalParameters, IN, const osg::FragmentProgram::LocalParamList &, lpl);
|
||||
Method0(osg::FragmentProgram::LocalParamList &, getLocalParameters);
|
||||
Method0(const osg::FragmentProgram::LocalParamList &, getLocalParameters);
|
||||
Method2(void, setMatrix, IN, const GLenum, mode, IN, const osg::Matrix &, matrix);
|
||||
Method1(void, setMatrices, IN, const osg::FragmentProgram::MatrixList &, matrices);
|
||||
Method0(osg::FragmentProgram::MatrixList &, getMatrices);
|
||||
Method0(const osg::FragmentProgram::MatrixList &, getMatrices);
|
||||
Method0(void, dirtyFragmentProgramObject);
|
||||
Method1(void, apply, IN, osg::State &, state);
|
||||
Method1(void, compileGLObjects, IN, osg::State &, state);
|
||||
MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0);
|
||||
Property(const std::string &, FragmentProgram);
|
||||
Property(const osg::FragmentProgram::LocalParamList &, LocalParameters);
|
||||
Property(const osg::FragmentProgram::MatrixList &, Matrices);
|
||||
ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram::Extensions)
|
||||
BaseType(osg::Referenced);
|
||||
Constructor0();
|
||||
Constructor1(IN, const osg::FragmentProgram::Extensions &, rhs);
|
||||
Method1(void, lowestCommonDenominator, IN, const osg::FragmentProgram::Extensions &, rhs);
|
||||
Method0(void, setupGLExtenions);
|
||||
Method1(void, setFragmentProgramSupported, IN, bool, flag);
|
||||
Method0(bool, isFragmentProgramSupported);
|
||||
Method2(void, glBindProgram, IN, GLenum, target, IN, GLuint, id);
|
||||
Method2(void, glGenPrograms, IN, GLsizei, n, IN, GLuint *, programs);
|
||||
Method2(void, glDeletePrograms, IN, GLsizei, n, IN, GLuint *, programs);
|
||||
Method4(void, glProgramString, IN, GLenum, target, IN, GLenum, format, IN, GLsizei, len, IN, const void *, string);
|
||||
Method3(void, glProgramLocalParameter4fv, IN, GLenum, target, IN, GLuint, index, IN, const GLfloat *, params);
|
||||
WriteOnlyProperty(bool, FragmentProgramSupported);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< GLenum COMMA osg::Matrix >);
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< GLuint COMMA osg::Vec4 >);
|
||||
|
||||
Reference in New Issue
Block a user