📄 framebufferobject.cpp
字号:
Properties::VIRTUAL, __osg_Object_P1__clone__C5_osg_CopyOp_R1, "Clone an attribute, 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, "Return true if this and obj are of the same kind of object. ", ""); I_Method0(const char *, libraryName, Properties::VIRTUAL, __C5_char_P1__libraryName, "Return the name of the attribute's library. ", ""); I_Method0(const char *, className, Properties::VIRTUAL, __C5_char_P1__className, "Return the name of the attribute's class type. ", ""); I_Method0(osg::StateAttribute::Type, getType, Properties::VIRTUAL, __Type__getType, "Return the Type identifier of the attribute's class type. ", ""); I_Method0(const osg::FrameBufferObject::AttachmentMap &, getAttachmentMap, Properties::NON_VIRTUAL, __C5_AttachmentMap_R1__getAttachmentMap, "", ""); I_Method2(void, setAttachment, IN, osg::FrameBufferObject::BufferComponent, attachment_point, IN, const osg::FrameBufferAttachment &, attachment, Properties::NON_VIRTUAL, __void__setAttachment__BufferComponent__C5_FrameBufferAttachment_R1, "", ""); I_Method1(const osg::FrameBufferAttachment &, getAttachment, IN, osg::FrameBufferObject::BufferComponent, attachment_point, Properties::NON_VIRTUAL, __C5_FrameBufferAttachment_R1__getAttachment__BufferComponent, "", ""); I_Method1(bool, hasAttachment, IN, osg::FrameBufferObject::BufferComponent, attachment_point, Properties::NON_VIRTUAL, __bool__hasAttachment__BufferComponent, "", ""); I_Method0(bool, hasMultipleRenderingTargets, Properties::NON_VIRTUAL, __bool__hasMultipleRenderingTargets, "", ""); I_Method0(const osg::FrameBufferObject::MultipleRenderingTargets &, getMultipleRenderingTargets, Properties::NON_VIRTUAL, __C5_MultipleRenderingTargets_R1__getMultipleRenderingTargets, "", ""); I_Method0(bool, isMultisample, Properties::NON_VIRTUAL, __bool__isMultisample, "", ""); I_Method1(int, compare, IN, const osg::StateAttribute &, sa, Properties::VIRTUAL, __int__compare__C5_StateAttribute_R1, "Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ", ""); I_Method1(void, apply, IN, osg::State &, state, Properties::VIRTUAL, __void__apply__State_R1, "apply the OpenGL state attributes. ", "The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. "); I_Method2(void, apply, IN, osg::State &, state, IN, osg::FrameBufferObject::BindTarget, target, Properties::NON_VIRTUAL, __void__apply__State_R1__BindTarget, "Bind the FBO as either the read or draw target, or both. ", ""); I_StaticMethod2(void, deleteFrameBufferObject, IN, unsigned int, contextID, IN, GLuint, program, __void__deleteFrameBufferObject__unsigned_int__GLuint_S, "Mark internal FBO for deletion. ", "Deletion requests are queued until they can be executed in the proper GL context. "); I_StaticMethod3(void, flushDeletedFrameBufferObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime, __void__flushDeletedFrameBufferObjects__unsigned_int__double__double_R1_S, "flush all the cached FBOs which need to be deleted in the OpenGL context related to contextID. ", ""); I_StaticMethod1(void, discardDeletedFrameBufferObjects, IN, unsigned int, contextID, __void__discardDeletedFrameBufferObjects__unsigned_int_S, "discard all the cached FBOs which need to be deleted in the OpenGL context related to contextID. ", ""); I_ProtectedMethod0(void, updateDrawBuffers, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__updateDrawBuffers, "", ""); I_ProtectedMethod0(void, dirtyAll, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__dirtyAll, "", ""); I_ProtectedMethod1(GLenum, convertBufferComponentToGLenum, IN, osg::FrameBufferObject::BufferComponent, attachment_point, Properties::NON_VIRTUAL, Properties::CONST, __GLenum__convertBufferComponentToGLenum__BufferComponent, "", ""); I_IndexedProperty(const osg::FrameBufferAttachment &, Attachment, __C5_FrameBufferAttachment_R1__getAttachment__BufferComponent, __void__setAttachment__BufferComponent__C5_FrameBufferAttachment_R1, 0); I_SimpleProperty(const osg::FrameBufferObject::AttachmentMap &, AttachmentMap, __C5_AttachmentMap_R1__getAttachmentMap, 0); I_SimpleProperty(const osg::FrameBufferObject::MultipleRenderingTargets &, MultipleRenderingTargets, __C5_MultipleRenderingTargets_R1__getMultipleRenderingTargets, 0); I_SimpleProperty(osg::StateAttribute::Type, Type, __Type__getType, 0);END_REFLECTORBEGIN_OBJECT_REFLECTOR(osg::RenderBuffer) I_DeclaringFile("osg/FrameBufferObject"); I_BaseType(osg::Object); I_Constructor0(____RenderBuffer, "", ""); I_ConstructorWithDefaults5(IN, int, width, , IN, int, height, , IN, GLenum, internalFormat, , IN, int, samples, 0, IN, int, colorSamples, 0, ____RenderBuffer__int__int__GLenum__int__int, "", ""); I_ConstructorWithDefaults2(IN, const osg::RenderBuffer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, ____RenderBuffer__C5_RenderBuffer_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. "); I_Method0(int, getWidth, Properties::NON_VIRTUAL, __int__getWidth, "", ""); I_Method0(int, getHeight, Properties::NON_VIRTUAL, __int__getHeight, "", ""); I_Method1(void, setWidth, IN, int, w, Properties::NON_VIRTUAL, __void__setWidth__int, "", ""); I_Method1(void, setHeight, IN, int, h, Properties::NON_VIRTUAL, __void__setHeight__int, "", ""); I_Method2(void, setSize, IN, int, w, IN, int, h, Properties::NON_VIRTUAL, __void__setSize__int__int, "", ""); I_Method0(GLenum, getInternalFormat, Properties::NON_VIRTUAL, __GLenum__getInternalFormat, "", ""); I_Method1(void, setInternalFormat, IN, GLenum, format, Properties::NON_VIRTUAL, __void__setInternalFormat__GLenum, "", ""); I_Method0(int, getSamples, Properties::NON_VIRTUAL, __int__getSamples, "", ""); I_Method0(int, getColorSamples, Properties::NON_VIRTUAL, __int__getColorSamples, "", ""); I_Method1(void, setSamples, IN, int, samples, Properties::NON_VIRTUAL, __void__setSamples__int, "", ""); I_Method1(void, setColorSamples, IN, int, colorSamples, Properties::NON_VIRTUAL, __void__setColorSamples__int, "", ""); I_Method2(GLuint, getObjectID, IN, unsigned int, contextID, IN, const osg::FBOExtensions *, ext, Properties::NON_VIRTUAL, __GLuint__getObjectID__unsigned_int__C5_FBOExtensions_P1, "", ""); I_Method1(int, compare, IN, const osg::RenderBuffer &, rb, Properties::NON_VIRTUAL, __int__compare__C5_RenderBuffer_R1, "", ""); I_StaticMethod2(void, deleteRenderBuffer, IN, unsigned int, contextID, IN, GLuint, rb, __void__deleteRenderBuffer__unsigned_int__GLuint_S, "Mark internal RenderBuffer for deletion. ", "Deletion requests are queued until they can be executed in the proper GL context. "); I_StaticMethod3(void, flushDeletedRenderBuffers, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime, __void__flushDeletedRenderBuffers__unsigned_int__double__double_R1_S, "flush all the cached RenderBuffers which need to be deleted in the OpenGL context related to contextID. ", ""); I_StaticMethod1(void, discardDeletedRenderBuffers, IN, unsigned int, contextID, __void__discardDeletedRenderBuffers__unsigned_int_S, "discard all the cached RenderBuffers which need to be deleted in the OpenGL context related to contextID. ", "Note, unlike flush no OpenGL calls are made, instead the handles are all removed. this call is useful for when an OpenGL context has been destroyed. "); I_StaticMethod2(int, getMaxSamples, IN, unsigned int, contextID, IN, const osg::FBOExtensions *, ext, __int__getMaxSamples__unsigned_int__C5_FBOExtensions_P1_S, "", ""); I_ProtectedMethod0(void, dirtyAll, Properties::NON_VIRTUAL, Properties::CONST, __void__dirtyAll, "", ""); I_SimpleProperty(int, ColorSamples, __int__getColorSamples, __void__setColorSamples__int); I_SimpleProperty(int, Height, __int__getHeight, __void__setHeight__int); I_SimpleProperty(GLenum, InternalFormat, __GLenum__getInternalFormat, __void__setInternalFormat__GLenum); I_SimpleProperty(int, Samples, __int__getSamples, __void__setSamples__int); I_SimpleProperty(int, Width, __int__getWidth, __void__setWidth__int);END_REFLECTORSTD_MAP_REFLECTOR(std::map< osg::Camera::BufferComponent COMMA osg::FrameBufferAttachment >)STD_VECTOR_REFLECTOR(std::vector< GLenum >)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -