state.cpp

来自「最新osg包」· C++ 代码 · 共 873 行 · 第 1/3 页

CPP
873
字号
	          "texture Attribute has been applied externally, update state to reflect this setting. ",	          "");	I_MethodWithDefaults3(void, haveAppliedTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,	                      Properties::NON_VIRTUAL,	                      __void__haveAppliedTextureAttribute__unsigned_int__StateAttribute_Type__unsigned_int,	                      "texture Attribute has been applied externally, and therefore this attribute type has been dirtied and will need to be re-applied on next osg::State.apply(. ",	                      ".). note, if you have an osg::StateAttribute which you have applied externally then use the have_applied(attribute) method as this will the osg::State to track the current state more accurately and enable lazy state updating such that only changed state will be applied. ");	I_Method2(bool, getLastAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode,	          Properties::NON_VIRTUAL,	          __bool__getLastAppliedTextureMode__unsigned_int__StateAttribute_GLMode,	          "Get whether the current specified texture mode is enabled (true) or disabled (false). ",	          "");	I_MethodWithDefaults3(const osg::StateAttribute *, getLastAppliedTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,	                      Properties::NON_VIRTUAL,	                      __C5_StateAttribute_P1__getLastAppliedTextureAttribute__unsigned_int__StateAttribute_Type__unsigned_int,	                      "Get the current specified texture attribute, return NULL if one has not yet been applied. ",	                      "");	I_Method0(void, dirtyAllModes,	          Properties::NON_VIRTUAL,	          __void__dirtyAllModes,	          "Dirty the modes previously applied in osg::State. ",	          "");	I_Method0(void, dirtyAllAttributes,	          Properties::NON_VIRTUAL,	          __void__dirtyAllAttributes,	          "Dirty the modes attributes previously applied in osg::State. ",	          "");	I_Method0(void, disableAllVertexArrays,	          Properties::NON_VIRTUAL,	          __void__disableAllVertexArrays,	          "disable the vertex, normal, color, tex coords, secondary color, fog coord and index arrays. ",	          "");	I_Method0(void, dirtyAllVertexArrays,	          Properties::NON_VIRTUAL,	          __void__dirtyAllVertexArrays,	          "dirty the vertex, normal, color, tex coords, secondary color, fog coord and index arrays. ",	          "");	I_Method1(void, setCurrentVertexBufferObject, IN, osg::VertexBufferObject *, vbo,	          Properties::NON_VIRTUAL,	          __void__setCurrentVertexBufferObject__osg_VertexBufferObject_P1,	          "",	          "");	I_Method0(const osg::VertexBufferObject *, getCurrentVertexBufferObject,	          Properties::NON_VIRTUAL,	          __C5_VertexBufferObject_P1__getCurrentVertexBufferObject,	          "",	          "");	I_Method1(void, bindVertexBufferObject, IN, const osg::VertexBufferObject *, vbo,	          Properties::NON_VIRTUAL,	          __void__bindVertexBufferObject__C5_osg_VertexBufferObject_P1,	          "",	          "");	I_Method0(void, unbindVertexBufferObject,	          Properties::NON_VIRTUAL,	          __void__unbindVertexBufferObject,	          "",	          "");	I_Method1(void, setCurrentElementBufferObject, IN, osg::ElementBufferObject *, ebo,	          Properties::NON_VIRTUAL,	          __void__setCurrentElementBufferObject__osg_ElementBufferObject_P1,	          "",	          "");	I_Method0(const osg::ElementBufferObject *, getCurrentElementBufferObject,	          Properties::NON_VIRTUAL,	          __C5_ElementBufferObject_P1__getCurrentElementBufferObject,	          "",	          "");	I_Method1(void, bindElementBufferObject, IN, const osg::ElementBufferObject *, ebo,	          Properties::NON_VIRTUAL,	          __void__bindElementBufferObject__C5_osg_ElementBufferObject_P1,	          "",	          "");	I_Method0(void, unbindElementBufferObject,	          Properties::NON_VIRTUAL,	          __void__unbindElementBufferObject,	          "",	          "");	I_Method1(void, setCurrentPixelBufferObject, IN, osg::PixelBufferObject *, pbo,	          Properties::NON_VIRTUAL,	          __void__setCurrentPixelBufferObject__osg_PixelBufferObject_P1,	          "",	          "");	I_Method0(const osg::PixelBufferObject *, getCurrentPixelBufferObject,	          Properties::NON_VIRTUAL,	          __C5_PixelBufferObject_P1__getCurrentPixelBufferObject,	          "",	          "");	I_Method1(void, bindPixelBufferObject, IN, const osg::PixelBufferObject *, pbo,	          Properties::NON_VIRTUAL,	          __void__bindPixelBufferObject__C5_osg_PixelBufferObject_P1,	          "",	          "");	I_Method0(void, unbindPixelBufferObject,	          Properties::NON_VIRTUAL,	          __void__unbindPixelBufferObject,	          "",	          "");	I_Method3(void, setInterleavedArrays, IN, GLenum, format, IN, GLsizei, stride, IN, const GLvoid *, pointer,	          Properties::NON_VIRTUAL,	          __void__setInterleavedArrays__GLenum__GLsizei__C5_GLvoid_P1,	          "Wrapper around glInterleavedArrays(. ",	          ".). also resets the internal array points and modes within osg::State to keep the other vertex array operations consistent. ");	I_Method1(void, setVertexPointer, IN, const osg::Array *, array,	          Properties::NON_VIRTUAL,	          __void__setVertexPointer__C5_Array_P1,	          "Set the vertex pointer using an osg::Array, and manage any VBO that are required. ",	          "");	I_Method4(void, setVertexPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,	          Properties::NON_VIRTUAL,	          __void__setVertexPointer__GLint__GLenum__GLsizei__C5_GLvoid_P1,	          "wrapper around glEnableClientState(GL_VERTEX_ARRAY);glVertexPointer(. ",	          ".); note, only updates values that change. ");	I_Method0(void, disableVertexPointer,	          Properties::NON_VIRTUAL,	          __void__disableVertexPointer,	          "wrapper around glDisableClientState(GL_VERTEX_ARRAY). ",	          "note, only updates values that change. ");	I_Method0(void, dirtyVertexPointer,	          Properties::NON_VIRTUAL,	          __void__dirtyVertexPointer,	          "",	          "");	I_Method1(void, setNormalPointer, IN, const osg::Array *, array,	          Properties::NON_VIRTUAL,	          __void__setNormalPointer__C5_Array_P1,	          "Set the normal pointer using an osg::Array, and manage any VBO that are required. ",	          "");	I_Method3(void, setNormalPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,	          Properties::NON_VIRTUAL,	          __void__setNormalPointer__GLenum__GLsizei__C5_GLvoid_P1,	          "wrapper around glEnableClientState(GL_NORMAL_ARRAY);glNormalPointer(. ",	          ".); note, only updates values that change. ");	I_Method0(void, disableNormalPointer,	          Properties::NON_VIRTUAL,	          __void__disableNormalPointer,	          "wrapper around glDisableClientState(GL_NORMAL_ARRAY); note, only updates values that change. ",	          "");	I_Method0(void, dirtyNormalPointer,	          Properties::NON_VIRTUAL,	          __void__dirtyNormalPointer,	          "",	          "");	I_Method1(void, setColorPointer, IN, const osg::Array *, array,	          Properties::NON_VIRTUAL,	          __void__setColorPointer__C5_Array_P1,	          "Set the color pointer using an osg::Array, and manage any VBO that are required. ",	          "");	I_Method4(void, setColorPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,	          Properties::NON_VIRTUAL,	          __void__setColorPointer__GLint__GLenum__GLsizei__C5_GLvoid_P1,	          "wrapper around glEnableClientState(GL_COLOR_ARRAY);glColorPointer(. ",	          ".); note, only updates values that change. ");	I_Method0(void, disableColorPointer,	          Properties::NON_VIRTUAL,	          __void__disableColorPointer,	          "wrapper around glDisableClientState(GL_COLOR_ARRAY); note, only updates values that change. ",	          "");	I_Method0(void, dirtyColorPointer,	          Properties::NON_VIRTUAL,	          __void__dirtyColorPointer,	          "",	          "");	I_Method0(bool, isSecondaryColorSupported,	          Properties::NON_VIRTUAL,	          __bool__isSecondaryColorSupported,	          "",	          "");	I_Method1(void, setSecondaryColorPointer, IN, const osg::Array *, array,	          Properties::NON_VIRTUAL,	          __void__setSecondaryColorPointer__C5_Array_P1,	          "Set the secondary color pointer using an osg::Array, and manage any VBO that are required. ",	          "");	I_Method4(void, setSecondaryColorPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,	          Properties::NON_VIRTUAL,	          __void__setSecondaryColorPointer__GLint__GLenum__GLsizei__C5_GLvoid_P1,	          "wrapper around glEnableClientState(GL_SECONDARY_COLOR_ARRAY);glSecondayColorPointer(. ",	          ".); note, only updates values that change. ");	I_Method0(void, disableSecondaryColorPointer,	          Properties::NON_VIRTUAL,	          __void__disableSecondaryColorPointer,	          "wrapper around glDisableClientState(GL_SECONDARY_COLOR_ARRAY); note, only updates values that change. ",	          "");	I_Method0(void, dirtySecondaryColorPointer,	          Properties::NON_VIRTUAL,	          __void__dirtySecondaryColorPointer,	          "",	          "");	I_Method3(void, setIndexPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,	          Properties::NON_VIRTUAL,	          __void__setIndexPointer__GLenum__GLsizei__C5_GLvoid_P1,	          "wrapper around glEnableClientState(GL_INDEX_ARRAY);glIndexPointer(. ",	          ".); note, only updates values that change. ");	I_Method0(void, disableIndexPointer,	          Properties::NON_VIRTUAL,	          __void__disableIndexPointer,	          "wrapper around glDisableClientState(GL_INDEX_ARRAY); note, only updates values that change. ",	          "");	I_Method0(void, dirtyIndexPointer,	          Properties::NON_VIRTUAL,	          __void__dirtyIndexPointer,	          "",	          "");	I_Method0(bool, isFogCoordSupported,	          Properties::NON_VIRTUAL,	          __bool__isFogCoordSupported,	          "",	          "");	I_Method1(void, setFogCoordPointer, IN, const osg::Array *, array,	          Properties::NON_VIRTUAL,	          __void__setFogCoordPointer__C5_Array_P1,	          "Set the fog coord pointer using an osg::Array, and manage any VBO that are required. ",	          "");	I_Method3(void, setFogCoordPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,	          Properties::NON_VIRTUAL,	          __void__setFogCoordPointer__GLenum__GLsizei__C5_GLvoid_P1,	          "wrapper around glEnableClientState(GL_FOG_COORDINATE_ARRAY);glFogCoordPointer(. ",	          ".); note, only updates values that change. ");	I_Method0(void, disableFogCoordPointer,	          Properties::NON_VIRTUAL,	          __void__disableFogCoordPointer,	          "wrapper around glDisableClientState(GL_FOG_COORDINATE_ARRAY); note, only updates values that change. ",	          "");	I_Method0(void, dirtyFogCoordPointer,	          Properties::NON_VIRTUAL,	          __void__dirtyFogCoordPointer,	          "",	          "");	I_Method2(void, setTexCoordPointer, IN, unsigned int, unit, IN, const osg::Array *, array,	          Properties::NON_VIRTUAL,	          __void__setTexCoordPointer__unsigned_int__C5_Array_P1,	          "Set the tex coord pointer using an osg::Array, and manage any VBO that are required. ",	          "");	I_Method5(void, setTexCoordPointer, IN, unsigned int, unit, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,	          Properties::NON_VIRTUAL,	          __void__setTexCoordPointer__unsigned_int__GLint__GLenum__GLsizei__C5_GLvoid_P1,	          "wrapper around glEnableClientState(GL_TEXTURE_COORD_ARRAY);glTexCoordPointer(. ",	          ".); note, only updates values that change. ");	I_Method1(void, disableTexCoordPointer, IN, unsigned int, unit,	          Properties::NON_VIRTUAL,	          __void__disableTexCoordPointer__unsigned_int,	          "wrapper around glDisableClientState(GL_TEXTURE_COORD_ARRAY); note, only updates values that change. ",	          "");	I_Method1(void, dirtyTexCoordPointer, IN, unsigned int, unit,	          Properties::NON_VIRTUAL,	          __void__dirtyTexCoordPointer__unsigned_int,	          "",	          "");	I_Method1(void, disableTexCoordPointersAboveAndIncluding, IN, unsigned int, unit,	          Properties::NON_VIRTUAL,	          __void__disableTexCoordPointersAboveAndIncluding__unsigned_int,	          "",	          "");	I_Method1(void, dirtyTexCoordPointersAboveAndIncluding, IN, unsigned int, unit,	          Properties::NON_VIRTUAL,	          __void__dirtyTexCoordPointersAboveAndIncluding__unsigned_int,	          "",	          "");	I_Method1(bool, setActiveTextureUnit, IN, unsigned int, unit,	          Properties::NON_VIRTUAL,	          __bool__setActiveTextureUnit__unsigned_int,	          "Set the current texture unit, return true if selected, false if selection failed such as when multi texturing is not supported. ",	          "note, only updates values that change. ");	I_Method0(unsigned int, getActiveTextureUnit,	          Properties::NON_VIRTUAL,	          __unsigned_int__getActiveTextureUnit,	          "Get the current texture unit. ",	          "");	I_Method1(bool, setClientActiveTextureUnit, IN, unsigned int, unit,	          Properties::NON_VIRTUAL,	          __bool__setClientActiveTextureUnit__unsigned_int,	          "Set the current tex coord array texture unit, return true if selected, false if selection failed such as when multi texturing is not supported. ",	          "note, only updates values that change. ");	I_Method0(unsigned int, getClientActiveTextureUnit,	          Properties::NON_VIRTUAL,	          __unsigned_int__getClientActiveTextureUnit,	          "Get the current tex coord array texture unit. ",	          "");	I_Method3(void, setVertexAttribPointer, IN, unsigned int, unit, IN, const osg::Array *, array, IN, GLboolean, normalized,	          Properties::NON_VIRTUAL,	          __void__setVertexAttribPointer__unsigned_int__C5_Array_P1__GLboolean,	          "Set the vertex attrib pointer using an osg::Array, and manage any VBO that are required. ",	          "");	I_Method6(void, setVertexAttribPointer, IN, unsigned int, index, IN, GLint, size, IN, GLenum, type, IN, GLboolean, normalized, IN, GLsizei, stride, IN, const GLvoid *, ptr,	          Properties::NON_VIRTUAL,	          __void__setVertexAttribPointer__unsigned_int__GLint__GLenum__GLboolean__GLsizei__C5_GLvoid_P1,	          "wrapper around glEnableVertexAttribArrayARB(index);glVertexAttribPointerARB(. ",	          ".); note, only updates values that change. ");	I_Method1(void, disableVertexAttribPointer, IN, unsigned int, index,	          Properties::NON_VIRTUAL,	          __void__disableVertexAttribPointer__unsigned_int,	          "wrapper around DisableVertexAttribArrayARB(index); note, only updates values that change. ",

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?