android.renderscript
Class Mesh.AllocationBuilder
java.lang.Object
android.renderscript.Mesh.AllocationBuilder
- Enclosing class:
- Mesh
public static class Mesh.AllocationBuilder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Mesh.AllocationBuilder
public Mesh.AllocationBuilder(RenderScript rs)
getCurrentVertexTypeIndex
public int getCurrentVertexTypeIndex()
getCurrentIndexSetIndex
public int getCurrentIndexSetIndex()
addVertexAllocation
public Mesh.AllocationBuilder addVertexAllocation(Allocation a)
throws IllegalStateException
- Throws:
IllegalStateException
addIndexSetAllocation
public Mesh.AllocationBuilder addIndexSetAllocation(Allocation a,
Mesh.Primitive p)
addIndexSetType
public Mesh.AllocationBuilder addIndexSetType(Mesh.Primitive p)
create
public Mesh create()
Copyright © 2008-2012. All Rights Reserved.