public class AllocationAdapter extends Allocation
Allocation.MipmapControlUSAGE_GRAPHICS_CONSTANTS, USAGE_GRAPHICS_RENDER_TARGET, USAGE_GRAPHICS_TEXTURE, USAGE_GRAPHICS_VERTEX, USAGE_IO_INPUT, USAGE_IO_OUTPUT, USAGE_SCRIPT| Modifier and Type | Method and Description |
|---|---|
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) |
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, getBytesSize, getElement, getSurface, getType, getUsage, ioReceive, ioSend, setFromFieldPacker, setFromFieldPacker, setSurface, syncAllpublic void setLOD(int lod)
public void setFace(Type.CubemapFace cf)
public void setY(int y)
public void setZ(int z)
public static AllocationAdapter create1D(RenderScript rs, Allocation a)
public static AllocationAdapter create2D(RenderScript rs, Allocation a)
public void resize(int dimX)
resize in class AllocationCopyright © 2008-2013. All Rights Reserved.