Lines Matching refs:mRS
160 int vtxCount = mRS.nMeshGetVertexBufferCount(getID(mRS)); in updateFromNative()
161 int idxCount = mRS.nMeshGetIndexCount(getID(mRS)); in updateFromNative()
167 mRS.nMeshGetVertices(getID(mRS), vtxIDs, vtxCount); in updateFromNative()
168 mRS.nMeshGetIndices(getID(mRS), idxIDs, primitives, idxCount); in updateFromNative()
176 mVertexBuffers[i] = new Allocation(vtxIDs[i], mRS, null, Allocation.USAGE_SCRIPT); in updateFromNative()
183 mIndexBuffers[i] = new Allocation(idxIDs[i], mRS, null, Allocation.USAGE_SCRIPT); in updateFromNative()
198 RenderScript mRS; field in Mesh.Builder
222 mRS = rs; in Builder()
347 Type.Builder tb = new Type.Builder(mRS, e); in newType()
358 mRS.validate(); in create()
371 alloc = Allocation.createTyped(mRS, entry.t, mUsage); in create()
373 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); in create()
379 vtx[ct] = alloc.getID(mRS); in create()
386 alloc = Allocation.createTyped(mRS, entry.t, mUsage); in create()
388 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); in create()
393 long allocID = (alloc == null) ? 0 : alloc.getID(mRS); in create()
401 long id = mRS.nMeshCreate(vtx, idx, prim); in create()
402 Mesh newMesh = new Mesh(id, mRS); in create()
419 RenderScript mRS; field in Mesh.AllocationBuilder
436 mRS = rs; in AllocationBuilder()
524 mRS.validate(); in create()
537 vtx[ct] = entry.a.getID(mRS); in create()
542 long allocID = (entry.a == null) ? 0 : entry.a.getID(mRS); in create()
550 long id = mRS.nMeshCreate(vtx, idx, prim); in create()
551 Mesh newMesh = new Mesh(id, mRS); in create()
572 RenderScript mRS; field in Mesh.TriangleMeshBuilder
613 mRS = rs; in TriangleMeshBuilder()
809 Element.Builder b = new Element.Builder(mRS); in create()
810 b.add(Element.createVector(mRS, in create()
814 b.add(Element.F32_4(mRS), "color"); in create()
817 b.add(Element.F32_2(mRS), "texture0"); in create()
820 b.add(Element.F32_3(mRS), "normal"); in create()
829 Builder smb = new Builder(mRS, usage); in create()
831 smb.addIndexSetType(Element.U16(mRS), mIndexCount, Primitive.TRIANGLE); in create()