Lines Matching refs:mRS
153 int vtxCount = mRS.nMeshGetVertexBufferCount(getID(mRS)); in updateFromNative()
154 int idxCount = mRS.nMeshGetIndexCount(getID(mRS)); in updateFromNative()
160 mRS.nMeshGetVertices(getID(mRS), vtxIDs, vtxCount); in updateFromNative()
161 mRS.nMeshGetIndices(getID(mRS), idxIDs, primitives, idxCount); in updateFromNative()
169 mVertexBuffers[i] = new Allocation(vtxIDs[i], mRS, null, Allocation.USAGE_SCRIPT); in updateFromNative()
176 mIndexBuffers[i] = new Allocation(idxIDs[i], mRS, null, Allocation.USAGE_SCRIPT); in updateFromNative()
191 RenderScript mRS; field in Mesh.Builder
215 mRS = rs; in Builder()
340 Type.Builder tb = new Type.Builder(mRS, e); in newType()
351 mRS.validate(); in create()
364 alloc = Allocation.createTyped(mRS, entry.t, mUsage); in create()
366 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); in create()
372 vtx[ct] = alloc.getID(mRS); in create()
379 alloc = Allocation.createTyped(mRS, entry.t, mUsage); in create()
381 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); in create()
386 long allocID = (alloc == null) ? 0 : alloc.getID(mRS); in create()
394 long id = mRS.nMeshCreate(vtx, idx, prim); in create()
395 Mesh newMesh = new Mesh(id, mRS); in create()
412 RenderScript mRS; field in Mesh.AllocationBuilder
428 mRS = rs; in AllocationBuilder()
512 mRS.validate(); in create()
525 vtx[ct] = entry.a.getID(mRS); in create()
530 long allocID = (entry.a == null) ? 0 : entry.a.getID(mRS); in create()
538 long id = mRS.nMeshCreate(vtx, idx, prim); in create()
539 Mesh newMesh = new Mesh(id, mRS); in create()
560 RenderScript mRS; field in Mesh.TriangleMeshBuilder
600 mRS = rs; in TriangleMeshBuilder()
793 Element.Builder b = new Element.Builder(mRS); in create()
794 b.add(Element.createVector(mRS, in create()
798 b.add(Element.F32_4(mRS), "color"); in create()
801 b.add(Element.F32_2(mRS), "texture0"); in create()
804 b.add(Element.F32_3(mRS), "normal"); in create()
813 Builder smb = new Builder(mRS, usage); in create()
815 smb.addIndexSetType(Element.U16(mRS), mIndexCount, Primitive.TRIANGLE); in create()