public class Allocation extends BaseObj
| Modifier and Type | Class and Description |
|---|---|
static class |
Allocation.MipmapControl |
| Modifier and Type | Field and Description |
|---|---|
static int |
USAGE_GRAPHICS_CONSTANTS |
static int |
USAGE_GRAPHICS_RENDER_TARGET |
static int |
USAGE_GRAPHICS_TEXTURE |
static int |
USAGE_GRAPHICS_VERTEX |
static int |
USAGE_IO_INPUT |
static int |
USAGE_IO_OUTPUT |
static int |
USAGE_SCRIPT |
| Modifier and Type | Method and Description |
|---|---|
void |
copy1DRangeFrom(int off,
int count,
Allocation data,
int dataOff) |
void |
copy1DRangeFrom(int off,
int count,
byte[] d) |
void |
copy1DRangeFrom(int off,
int count,
float[] d) |
void |
copy1DRangeFrom(int off,
int count,
int[] d) |
void |
copy1DRangeFrom(int off,
int count,
short[] d) |
void |
copy1DRangeFromUnchecked(int off,
int count,
byte[] d) |
void |
copy1DRangeFromUnchecked(int off,
int count,
float[] d) |
void |
copy1DRangeFromUnchecked(int off,
int count,
int[] d) |
void |
copy1DRangeFromUnchecked(int off,
int count,
short[] d) |
void |
copy2DRangeFrom(int xoff,
int yoff,
Bitmap data) |
void |
copy2DRangeFrom(int xoff,
int yoff,
int w,
int h,
Allocation data,
int dataXoff,
int dataYoff) |
void |
copy2DRangeFrom(int xoff,
int yoff,
int w,
int h,
byte[] data) |
void |
copy2DRangeFrom(int xoff,
int yoff,
int w,
int h,
float[] data) |
void |
copy2DRangeFrom(int xoff,
int yoff,
int w,
int h,
int[] data) |
void |
copy2DRangeFrom(int xoff,
int yoff,
int w,
int h,
short[] data) |
void |
copyFrom(BaseObj[] d) |
void |
copyFrom(Bitmap b) |
void |
copyFrom(byte[] d) |
void |
copyFrom(float[] d) |
void |
copyFrom(int[] d) |
void |
copyFrom(short[] d) |
void |
copyFromUnchecked(byte[] d) |
void |
copyFromUnchecked(float[] d) |
void |
copyFromUnchecked(int[] d) |
void |
copyFromUnchecked(short[] d) |
void |
copyTo(Bitmap b) |
void |
copyTo(byte[] d) |
void |
copyTo(float[] d) |
void |
copyTo(int[] d) |
void |
copyTo(short[] d) |
static Allocation |
createCubemapFromBitmap(RenderScript rs,
Bitmap b) |
static Allocation |
createCubemapFromBitmap(RenderScript rs,
Bitmap b,
Allocation.MipmapControl mips,
int usage) |
static Allocation |
createCubemapFromCubeFaces(RenderScript rs,
Bitmap xpos,
Bitmap xneg,
Bitmap ypos,
Bitmap yneg,
Bitmap zpos,
Bitmap zneg) |
static Allocation |
createCubemapFromCubeFaces(RenderScript rs,
Bitmap xpos,
Bitmap xneg,
Bitmap ypos,
Bitmap yneg,
Bitmap zpos,
Bitmap zneg,
Allocation.MipmapControl mips,
int usage) |
static Allocation |
createFromBitmap(RenderScript rs,
Bitmap b) |
static Allocation |
createFromBitmap(RenderScript rs,
Bitmap b,
Allocation.MipmapControl mips,
int usage) |
static Allocation |
createFromBitmapResource(RenderScript rs,
Resources res,
int id) |
static Allocation |
createFromBitmapResource(RenderScript rs,
Resources res,
int id,
Allocation.MipmapControl mips,
int usage) |
static Allocation |
createFromString(RenderScript rs,
String str,
int usage) |
static Allocation |
createSized(RenderScript rs,
Element e,
int count) |
static Allocation |
createSized(RenderScript rs,
Element e,
int count,
int usage) |
static Allocation |
createTyped(RenderScript rs,
Type type) |
static Allocation |
createTyped(RenderScript rs,
Type type,
Allocation.MipmapControl mips,
int usage) |
static Allocation |
createTyped(RenderScript rs,
Type type,
int usage) |
void |
generateMipmaps() |
int |
getBytesSize() |
Element |
getElement() |
Surface |
getSurface() |
Type |
getType() |
int |
getUsage() |
void |
ioReceive() |
void |
ioSend() |
void |
resize(int dimX) |
void |
setFromFieldPacker(int xoff,
FieldPacker fp) |
void |
setFromFieldPacker(int xoff,
int component_number,
FieldPacker fp) |
void |
setSurface(Surface sur) |
void |
syncAll(int srcLocation) |
public static final int USAGE_SCRIPT
public static final int USAGE_GRAPHICS_TEXTURE
public static final int USAGE_GRAPHICS_VERTEX
public static final int USAGE_GRAPHICS_CONSTANTS
public static final int USAGE_GRAPHICS_RENDER_TARGET
public static final int USAGE_IO_INPUT
public static final int USAGE_IO_OUTPUT
public Element getElement()
public int getUsage()
public int getBytesSize()
public Type getType()
public void syncAll(int srcLocation)
public void ioSend()
public void ioReceive()
public void copyFrom(BaseObj[] d)
public void copyFromUnchecked(int[] d)
public void copyFromUnchecked(short[] d)
public void copyFromUnchecked(byte[] d)
public void copyFromUnchecked(float[] d)
public void copyFrom(int[] d)
public void copyFrom(short[] d)
public void copyFrom(byte[] d)
public void copyFrom(float[] d)
public void copyFrom(Bitmap b)
public void setFromFieldPacker(int xoff,
FieldPacker fp)
public void setFromFieldPacker(int xoff,
int component_number,
FieldPacker fp)
public void generateMipmaps()
public void copy1DRangeFromUnchecked(int off,
int count,
int[] d)
public void copy1DRangeFromUnchecked(int off,
int count,
short[] d)
public void copy1DRangeFromUnchecked(int off,
int count,
byte[] d)
public void copy1DRangeFromUnchecked(int off,
int count,
float[] d)
public void copy1DRangeFrom(int off,
int count,
int[] d)
public void copy1DRangeFrom(int off,
int count,
short[] d)
public void copy1DRangeFrom(int off,
int count,
byte[] d)
public void copy1DRangeFrom(int off,
int count,
float[] d)
public void copy1DRangeFrom(int off,
int count,
Allocation data,
int dataOff)
public void copy2DRangeFrom(int xoff,
int yoff,
int w,
int h,
byte[] data)
public void copy2DRangeFrom(int xoff,
int yoff,
int w,
int h,
short[] data)
public void copy2DRangeFrom(int xoff,
int yoff,
int w,
int h,
int[] data)
public void copy2DRangeFrom(int xoff,
int yoff,
int w,
int h,
float[] data)
public void copy2DRangeFrom(int xoff,
int yoff,
int w,
int h,
Allocation data,
int dataXoff,
int dataYoff)
public void copy2DRangeFrom(int xoff,
int yoff,
Bitmap data)
public void copyTo(Bitmap b)
public void copyTo(byte[] d)
public void copyTo(short[] d)
public void copyTo(int[] d)
public void copyTo(float[] d)
public void resize(int dimX)
public static Allocation createTyped(RenderScript rs, Type type, Allocation.MipmapControl mips, int usage)
public static Allocation createTyped(RenderScript rs, Type type, int usage)
public static Allocation createTyped(RenderScript rs, Type type)
public static Allocation createSized(RenderScript rs, Element e, int count, int usage)
public static Allocation createSized(RenderScript rs, Element e, int count)
public static Allocation createFromBitmap(RenderScript rs, Bitmap b, Allocation.MipmapControl mips, int usage)
public Surface getSurface()
public void setSurface(Surface sur)
public static Allocation createFromBitmap(RenderScript rs, Bitmap b)
public static Allocation createCubemapFromBitmap(RenderScript rs, Bitmap b, Allocation.MipmapControl mips, int usage)
public static Allocation createCubemapFromBitmap(RenderScript rs, Bitmap b)
public static Allocation createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, Allocation.MipmapControl mips, int usage)
public static Allocation createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg)
public static Allocation createFromBitmapResource(RenderScript rs, Resources res, int id, Allocation.MipmapControl mips, int usage)
public static Allocation createFromBitmapResource(RenderScript rs, Resources res, int id)
public static Allocation createFromString(RenderScript rs, String str, int usage)
Copyright © 2008-2013. All Rights Reserved.