android.renderscript
Class Mesh.AllocationBuilder

java.lang.Object
  extended by android.renderscript.Mesh.AllocationBuilder
Enclosing class:
Mesh

public static class Mesh.AllocationBuilder
extends Object


Constructor Summary
Mesh.AllocationBuilder(RenderScript rs)
           
 
Method Summary
 Mesh.AllocationBuilder addIndexSetAllocation(Allocation a, Mesh.Primitive p)
           
 Mesh.AllocationBuilder addIndexSetType(Mesh.Primitive p)
           
 Mesh.AllocationBuilder addVertexAllocation(Allocation a)
           
 Mesh create()
           
 int getCurrentIndexSetIndex()
           
 int getCurrentVertexTypeIndex()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mesh.AllocationBuilder

public Mesh.AllocationBuilder(RenderScript rs)
Method Detail

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.