Searched refs:normElem (Results 1 – 8 of 8) sorted by relevance
572 const VertexElement *normElem = dcl->findElementBySemantic(VES_NORMAL); in populateVertexArray() local573 if (!normElem) in populateVertexArray()578 if (normElem->getSource() == uvElem->getSource()) in populateVertexArray()583 else if (normElem->getSource() == posElem->getSource()) in populateVertexArray()594 normBuf = bind->getBuffer(normElem->getSource()); in populateVertexArray()616 normElem->baseVertexPointerToElement(pNormBase, &pFloat); in populateVertexArray()
460 const VertexElement *normElem = decl->findElementBySemantic(VES_NORMAL); in extractFrom() local467 if (!normElem) in extractFrom()474 normBindIndex = normElem->getSource(); in extractFrom()
2067 const VertexElement* normElem = in softwareVertexMorph() local2071 if (normElem && normElem->getSource() == posElem->getSource() && in softwareVertexMorph()2079 … || (morphNormals && posElem->getSize() + normElem->getSize() == destBuf->getVertexSize())) && in softwareVertexMorph()2102 const VertexElement* normElem = in softwareVertexPoseBlend() local2106 … bool normals = normElem && !normalsMap.empty() && posElem->getSource() == normElem->getSource(); in softwareVertexPoseBlend()2136 normElem->baseVertexPointerToElement((void*)pBase, &pNormBase); in softwareVertexPoseBlend()
1280 const VertexElement* normElem = in initialisePoseVertexData() local1283 if (normElem) in initialisePoseVertexData()1286 destData->vertexBufferBinding->getBuffer(normElem->getSource()); in initialisePoseVertexData()1293 normElem->baseVertexPointerToElement(pBase, &pNorm); in initialisePoseVertexData()
598 const VertexElement *normElem = dcl->findElementBySemantic(VES_NORMAL); in populateVertexArray() local599 if (!normElem) in populateVertexArray()604 if (normElem->getSource() == uvElem->getSource()) in populateVertexArray()609 else if (normElem->getSource() == posElem->getSource()) in populateVertexArray()620 normBuf = bind->getBuffer(normElem->getSource()); in populateVertexArray()642 normElem->baseVertexPointerToElement(pNormBase, &pFloat); in populateVertexArray()
466 const VertexElement *normElem = decl->findElementBySemantic(VES_NORMAL); in extractFrom() local473 if (!normElem) in extractFrom()480 normBindIndex = normElem->getSource(); in extractFrom()
1746 const VertexElement* normElem = in softwareVertexMorph() local1750 if (normElem && normElem->getSource() == posElem->getSource() && in softwareVertexMorph()1758 || (morphNormals && posElem->getSize() + normElem->getSize() == destBuf->getVertexSize())) && in softwareVertexMorph()1786 const VertexElement* normElem = in softwareVertexPoseBlend() local1790 bool normals = normElem && !normalsMap.empty() && posElem->getSource() == normElem->getSource(); in softwareVertexPoseBlend()1820 normElem->baseVertexPointerToElement((void*)pBase, &pNormBase); in softwareVertexPoseBlend()
1220 const VertexElement* normElem = in initialisePoseVertexData() local1223 if (normElem) in initialisePoseVertexData()1226 destData->vertexBufferBinding->getBuffer(normElem->getSource()); in initialisePoseVertexData()1233 normElem->baseVertexPointerToElement(pBase, &pNorm); in initialisePoseVertexData()