android.renderscript
Class AllocationAdapter

java.lang.Object
  extended by android.renderscript.BaseObj
      extended by android.renderscript.Allocation
          extended by android.renderscript.AllocationAdapter

public class AllocationAdapter
extends Allocation


Nested Class Summary
 
Nested classes/interfaces inherited from class android.renderscript.Allocation
Allocation.MipmapControl
 
Field Summary
 
Fields inherited from class android.renderscript.Allocation
USAGE_GRAPHICS_CONSTANTS, USAGE_GRAPHICS_RENDER_TARGET, USAGE_GRAPHICS_TEXTURE, USAGE_GRAPHICS_VERTEX, USAGE_SCRIPT
 
Method Summary
static AllocationAdapter create1D(RenderScript rs, Allocation a)
           
static AllocationAdapter create2D(RenderScript rs, Allocation a)
           
 void resize(int dimX)
           
 void setFace(Type.CubemapFace cf)
           
 void setLOD(int lod)
           
 void setY(int y)
           
 void setZ(int z)
           
 
Methods inherited from class android.renderscript.Allocation
copy1DRangeFrom, copy1DRangeFrom, copy1DRangeFrom, copy1DRangeFrom, copy1DRangeFrom, copy1DRangeFromUnchecked, copy1DRangeFromUnchecked, copy1DRangeFromUnchecked, copy1DRangeFromUnchecked, copy2DRangeFrom, copy2DRangeFrom, copy2DRangeFrom, copy2DRangeFrom, copy2DRangeFrom, copy2DRangeFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFromUnchecked, copyFromUnchecked, copyFromUnchecked, copyFromUnchecked, copyTo, copyTo, copyTo, copyTo, copyTo, createCubemapFromBitmap, createCubemapFromBitmap, createCubemapFromCubeFaces, createCubemapFromCubeFaces, createFromBitmap, createFromBitmap, createFromBitmapResource, createFromBitmapResource, createFromString, createSized, createSized, createTyped, createTyped, createTyped, generateMipmaps, getType, setFromFieldPacker, setFromFieldPacker, syncAll
 
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

setLOD

public void setLOD(int lod)

setFace

public void setFace(Type.CubemapFace cf)

setY

public void setY(int y)

setZ

public void setZ(int z)

create1D

public static AllocationAdapter create1D(RenderScript rs,
                                         Allocation a)

create2D

public static AllocationAdapter create2D(RenderScript rs,
                                         Allocation a)

resize

public void resize(int dimX)
Overrides:
resize in class Allocation


Copyright © 2008-2012. All Rights Reserved.