⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hardwareindexbuffer.pyste

📁 使用stl技术,(还没看,是听说的)
💻 PYSTE
字号:
##Include('OgreEdgeListBuilder.h')
##Include('OgreLight.h')  # sound wrong
##Include('OgreNode.h') # ?
##Include('OgreTechnique.h')
##Include('OgreUserDefinedObject.h')
Include('OgreHardwareBufferWrapper.h')


Import('HardwareBuffer.pyste')
hardwareIndexBuffer = Class('Ogre::HardwareIndexBuffer', 'OgreHardwareIndexBuffer.h')
##hardwareIndexBufferPtr = Class( 'Ogre::HardwareIndexBufferPtr', 'OgreHardwareIndexBuffer.h')
##exclude( hardwareIndexBufferPtr.get )
##exclude( hardwareIndexBufferPtr.destroy )
##exclude( hardwareIndexBufferPtr.bind )
##exclude( hardwareIndexBufferPtr.operator['*'] )
##exclude( hardwareIndexBufferPtr.operator['->'] )
##exclude( hardwareIndexBufferPtr.unique )
##exclude( hardwareIndexBufferPtr.useCount )
##exclude( hardwareIndexBufferPtr.getPointer )
##exclude( hardwareIndexBufferPtr.isNull )
##exclude( hardwareIndexBufferPtr.setNull )
##exclude( hardwareIndexBufferPtr.release )

exclude( hardwareIndexBuffer.lock ) # need to wrap it like HardwareVertexBuffer

# @todo dummy policy, need inspection
#set_policy(simpleRenderable.getMaterial, return_internal_reference(1))

##module_code( '''
##   boost::python::register_ptr_to_python< Ogre::HardwareIndexBufferSharedPtr >();
##''' )

⌨️ 快捷键说明

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