android.renderscript
Class Mesh

java.lang.Object
  extended by android.renderscript.BaseObj
      extended by android.renderscript.Mesh

public class Mesh
extends BaseObj


Nested Class Summary
static class Mesh.AllocationBuilder
           
static class Mesh.Builder
           
static class Mesh.Primitive
           
static class Mesh.TriangleMeshBuilder
           
 
Method Summary
 Allocation getIndexSetAllocation(int slot)
           
 Mesh.Primitive getPrimitive(int slot)
           
 int getPrimitiveCount()
           
 Allocation getVertexAllocation(int slot)
           
 int getVertexAllocationCount()
           
 
Methods inherited from class android.renderscript.BaseObj
destroy, equals, finalize, getName, hashCode, setName
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getVertexAllocationCount

public int getVertexAllocationCount()

getVertexAllocation

public Allocation getVertexAllocation(int slot)

getPrimitiveCount

public int getPrimitiveCount()

getIndexSetAllocation

public Allocation getIndexSetAllocation(int slot)

getPrimitive

public Mesh.Primitive getPrimitive(int slot)


Copyright © 2008-2012. All Rights Reserved.