nathan75
01-11-2006 04:50:54
vertexData = mesh.sharedVertexData
vD = vertexData.vertexDeclaration
vE = vD.findElementBySemantic(ogre.VES_POSITION)
print vE.getSource()
vBB = vertexData.vertexBufferBinding
buffer = vBB.getBuffer(vE.getSource())
lock = buffer.lock(vD,buffer.HBL_READ_ONLY)
elem = vE.baseVertexPointerToElement(lock,pReal)
system said
No matching function for overloaded 'VertexElement_baseVertexPointerToElement'
Is it meaning that the function is not supported by pyogre?
i saw ogre.py
class VertexElement(object):
_def baseVertexPointerToElement(*args):
__"""
__baseVertexPointerToElement(self, void pBase, void pElem)
__baseVertexPointerToElement(self, void pBase, float pElem)
__baseVertexPointerToElement(self, void pBase, RGBA pElem)
__baseVertexPointerToElement(self, void pBase, unsigned char pElem)
__baseVertexPointerToElement(self, void pBase, unsigned short pElem)
__"""
__return _ogre.VertexElement_baseVertexPointerToElement(*args)
Thank you very much!
vD = vertexData.vertexDeclaration
vE = vD.findElementBySemantic(ogre.VES_POSITION)
print vE.getSource()
vBB = vertexData.vertexBufferBinding
buffer = vBB.getBuffer(vE.getSource())
lock = buffer.lock(vD,buffer.HBL_READ_ONLY)
elem = vE.baseVertexPointerToElement(lock,pReal)
system said
No matching function for overloaded 'VertexElement_baseVertexPointerToElement'
Is it meaning that the function is not supported by pyogre?
i saw ogre.py
class VertexElement(object):
_def baseVertexPointerToElement(*args):
__"""
__baseVertexPointerToElement(self, void pBase, void pElem)
__baseVertexPointerToElement(self, void pBase, float pElem)
__baseVertexPointerToElement(self, void pBase, RGBA pElem)
__baseVertexPointerToElement(self, void pBase, unsigned char pElem)
__baseVertexPointerToElement(self, void pBase, unsigned short pElem)
__"""
__return _ogre.VertexElement_baseVertexPointerToElement(*args)
Thank you very much!