Lines Matching refs:sm
23 Mesh *sm = static_cast<Mesh *>(mv); in rsaMeshGetVertexBufferCount() local
24 *numVtx = sm->mHal.state.vertexBuffersCount; in rsaMeshGetVertexBufferCount()
28 Mesh *sm = static_cast<Mesh *>(mv); in rsaMeshGetIndexCount() local
29 *numIdx = sm->mHal.state.primitivesCount; in rsaMeshGetIndexCount()
33 Mesh *sm = static_cast<Mesh *>(mv); in rsaMeshGetVertices() local
34 rsAssert(vtxDataCount == sm->mHal.state.vertexBuffersCount); in rsaMeshGetVertices()
37 vtxData[ct] = sm->mHal.state.vertexBuffers[ct]; in rsaMeshGetVertices()
38 sm->mHal.state.vertexBuffers[ct]->incUserRef(); in rsaMeshGetVertices()
43 Mesh *sm = static_cast<Mesh *>(mv); in rsaMeshGetIndices() local
44 rsAssert(idxDataCount == sm->mHal.state.primitivesCount); in rsaMeshGetIndices()
47 va[ct] = sm->mHal.state.indexBuffers[ct]; in rsaMeshGetIndices()
48 primType[ct] = sm->mHal.state.primitives[ct]; in rsaMeshGetIndices()
49 if (sm->mHal.state.indexBuffers[ct]) { in rsaMeshGetIndices()
50 sm->mHal.state.indexBuffers[ct]->incUserRef(); in rsaMeshGetIndices()