Searched refs:attributeIndex (Results 1 – 3 of 3) sorted by relevance
183 int Program::getSemanticIndex(int attributeIndex) in getSemanticIndex() argument185 if (attributeIndex >= 0 && attributeIndex < MAX_VERTEX_ATTRIBS) in getSemanticIndex()187 return mSemanticIndex[attributeIndex]; in getSemanticIndex()1607 for (int attributeIndex = 0; attributeIndex < MAX_VERTEX_ATTRIBS; ) in linkAttributes() local1609 int index = mVertexShader->getSemanticIndex(mLinkedAttribute[attributeIndex].name); in linkAttributes()1610 int rows = std::max(VariableRowCount(mLinkedAttribute[attributeIndex].type), 1); in linkAttributes()1614 mSemanticIndex[attributeIndex++] = index++; in linkAttributes()2625 for (int attributeIndex = 0; attributeIndex < MAX_VERTEX_ATTRIBS; attributeIndex++) in getActiveAttributeCount() local2627 if (!mLinkedAttribute[attributeIndex].name.empty()) in getActiveAttributeCount()2640 for (int attributeIndex = 0; attributeIndex < MAX_VERTEX_ATTRIBS; attributeIndex++) in getActiveAttributeMaxLength() local[all …]
72 int getSemanticIndex(int attributeIndex);
110 for (int attributeIndex = 0; attributeIndex < MAX_VERTEX_ATTRIBS; attributeIndex++) in prepareVertexData() local112 translated[attributeIndex].active = (program->getSemanticIndex(attributeIndex) != -1); in prepareVertexData()