to top
Android APIs
Added in API level 11
package

android.renderscript

RenderScript provides support for high-performance computation across heterogeneous processors.

For more information, see the RenderScript developer guide.

Interfaces

Allocation.OnBufferAvailableListener Interface to handle notification when new buffers are available via USAGE_IO_INPUT

Classes

Allocation

This class provides the primary method through which data is passed to and from RenderScript kernels. 

AllocationAdapter Only intended for use by generated reflected code. 
BaseObj BaseObj is the base class for all RenderScript objects owned by a RS context. 
Byte2 Class for exposing the native RenderScript byte2 type back to the Android system. 
Byte3 Class for exposing the native RenderScript byte3 type back to the Android system. 
Byte4 Class for exposing the native RenderScript byte4 type back to the Android system. 
Double2 Class for exposing the native RenderScript double2 type back to the Android system. 
Double3 Class for exposing the native RenderScript double3 type back to the Android system. 
Double4 Class for exposing the native RenderScript double4 type back to the Android system. 
Element

An Element represents one item within an Allocation

Element.Builder Builder class for producing complex elements with matching field and name pairs. 
FieldPacker Utility class for packing arguments and structures from Android system objects to RenderScript objects. 
Float2 Class for exposing the native RenderScript float2 type back to the Android system. 
Float3 Class for exposing the native RenderScript float2 type back to the Android system. 
Float4 Class for exposing the native RenderScript float2 type back to the Android system. 
Int2 Class for exposing the native RenderScript int2 type back to the Android system. 
Int3 Class for exposing the native RenderScript int3 type back to the Android system. 
Int4 Class for exposing the native RenderScript int4 type back to the Android system. 
Long2 Class for exposing the native RenderScript long2 type back to the Android system. 
Long3 Class for exposing the native RenderScript long3 type back to the Android system. 
Long4 Class for exposing the native RenderScript long4 type back to the Android system. 
Matrix2f Class for exposing the native RenderScript rs_matrix2x2 type back to the Android system. 
Matrix3f Class for exposing the native RenderScript rs_matrix3x3 type back to the Android system. 
Matrix4f Class for exposing the native RenderScript rs_matrix4x4 type back to the Android system. 
RenderScript This class provides access to a RenderScript context, which controls RenderScript initialization, resource management, and teardown. 
RenderScript.RSErrorHandler The runtime error handler base class. 
RenderScript.RSMessageHandler The base class from which an application should derive in order to receive RS messages from scripts. 
Sampler Sampler object that defines how Allocations can be read as textures within a kernel. 
Sampler.Builder Builder for creating non-standard samplers. 
Script The parent class for all executable scripts. 
Script.Builder Only intended for use by generated reflected code. 
Script.FieldBase Only intended for use by generated reflected code. 
Script.FieldID FieldID is an identifier for a Script + exported field pair. 
Script.KernelID KernelID is an identifier for a Script + root function pair. 
Script.LaunchOptions Class used to specify clipping for a kernel launch. 
ScriptC The superclass for all user-defined scripts. 
ScriptGroup ScriptGroup creates a group of kernels that are executed together with one execution call as if they were a single kernel. 
ScriptGroup.Builder Helper class to build a ScriptGroup. 
ScriptIntrinsic Base class for all Intrinsic scripts. 
ScriptIntrinsic3DLUT Intrinsic for converting RGB to RGBA by using a 3D lookup table. 
ScriptIntrinsicBlend Intrinsic kernels for blending two Allocation objects. 
ScriptIntrinsicBlur Intrinsic Gausian blur filter. 
ScriptIntrinsicColorMatrix Intrinsic for applying a color matrix to allocations. 
ScriptIntrinsicConvolve3x3 Intrinsic for applying a 3x3 convolve to an allocation. 
ScriptIntrinsicConvolve5x5 Intrinsic for applying a 5x5 convolve to an allocation. 
ScriptIntrinsicHistogram Intrinsic Histogram filter. 
ScriptIntrinsicLUT Intrinsic for applying a per-channel lookup table. 
ScriptIntrinsicYuvToRGB Intrinsic for converting an Android YUV buffer to RGB. 
Short2 Class for exposing the native RenderScript Short2 type back to the Android system. 
Short3 Class for exposing the native RenderScript short3 type back to the Android system. 
Short4 Class for exposing the native RenderScript short4 type back to the Android system. 
Type

A Type describes the Element and dimensions used for an Allocation or a parallel operation. 

Type.Builder Builder class for Type. 

Enums

Allocation.MipmapControl Controls mipmap behavior when using the bitmap creation and update functions. 
Element.DataKind The special interpretation of the data if required. 
Element.DataType DataType represents the basic type information for a basic element. 
RenderScript.ContextType ContextType specifies the specific type of context to be created. 
RenderScript.Priority RenderScript worker thread priority enumeration. 
Sampler.Value  
Type.CubemapFace  

Exceptions

RSDriverException Base class for all exceptions thrown by the Android RenderScript  
RSIllegalArgumentException Base class for all exceptions thrown by the Android RenderScript  
RSInvalidStateException Base class for all exceptions thrown by the Android RenderScript  
RSRuntimeException Base class for all exceptions thrown by the Android RenderScript