Android Guides | Samples

Android.Renderscripts Namespace

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

Remarks

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

For more information, see the RenderScript developer guide.

Classes

TypeReason
Allocation
Allocation+BufferAvailableEventArgsProvides data for the Allocation.BufferAvailable event.
Allocation+IOnBufferAvailableListener
Allocation+MipmapControlControls mipmap behavior when using the bitmap creation and update functions.
AllocationAdapterOnly intended for use by generated reflected code.
AllocationUsageEnumerates values returned by several methods of AllocationUsage and taken as a parameter of several methods of Allocation.
BaseObjBaseObj is the base class for all RenderScript objects owned by a RS context.
Byte2Class for exposing the native RenderScript byte2 type back to the Android system.
Byte3Class for exposing the native RenderScript byte3 type back to the Android system.
Byte4Class for exposing the native RenderScript byte4 type back to the Android system.
CreateFlagEnumerates values returned by the CreateFlag.LowLatency, CreateFlag.LowPower, and CreateFlag.None members.
Double2Vector version of the basic double type.
Double3Vector version of the basic double type.
Double4Vector version of the basic double type.
Element
  • A single float value (equivalent to a float in a kernel)
  • A four-element float vector (equivalent to a float4 in a kernel)
  • An unsigned 32-bit integer (equivalent to an unsigned int in a kernel)
  • A single signed 8-bit integer (equivalent to a char in a kernel)

Developer Guides

Element+BuilderBuilder class for producing complex elements with matching field and name pairs.
Element+DataKindThe special interpretation of the data if required.
Element+DataTypeDataType represents the basic type information for a basic element.
FieldPackerUtility class for packing arguments and structures from Android system objects to RenderScript objects.
FileA3D
FileA3D+EntryType
FileA3D+IndexEntry
Float2Vector version of the basic float type.
Float3Vector version of the basic float type.
Float4Vector version of the basic float type.
Font
Font+Style
Int2Vector version of the basic int type.
Int3Vector version of the basic int type.
Int4Vector version of the basic int type.
Long2Vector version of the basic long type.
Long3Vector version of the basic long type.
Long4Vector version of the basic long type.
Matrix2fClass for exposing the native RenderScript rs_matrix2x2 type back to the Android system.
Matrix3fClass for exposing the native RenderScript rs_matrix3x3 type back to the Android system.
Matrix4fClass for exposing the native RenderScript rs_matrix4x4 type back to the Android system.
Mesh
Mesh+AllocationBuilder
Mesh+Builder
Mesh+Primitive
Mesh+TriangleMeshBuilder
Program
Program+BaseProgramBuilder
Program+TextureType
ProgramFragment
ProgramFragment+Builder
ProgramFragmentFixedFunction
ProgramFragmentFixedFunction+Builder
ProgramFragmentFixedFunction+Builder+EnvMode
ProgramFragmentFixedFunction+Builder+Format
ProgramRaster
ProgramRaster+Builder
ProgramRaster+CullMode
ProgramStore
ProgramStore+BlendDstFunc
ProgramStore+BlendSrcFunc
ProgramStore+Builder
ProgramStore+DepthFunc
ProgramVertex
ProgramVertex+Builder
ProgramVertexFixedFunction
ProgramVertexFixedFunction+Builder
ProgramVertexFixedFunction+Constants
RenderScriptThis class provides access to a RenderScript context, which controls RenderScript initialization, resource management, and teardown.
RenderScript+ContextTypeContextType specifies the specific type of context to be created.
RenderScript+PriorityRenderScript worker threads priority enumeration.
RenderScript+RSErrorHandlerRuntime error base class.
RenderScript+RSMessageHandlerBase class application should derive from for handling RS messages coming from their scripts.
RenderScriptGL
RenderScriptGL+SurfaceConfig
RSDriverExceptionBase class for all exceptions thrown by the Android RenderScript
RSIllegalArgumentExceptionBase class for all exceptions thrown by the Android RenderScript
RSInvalidStateExceptionBase class for all exceptions thrown by the Android RenderScript
RSRuntimeExceptionBase class for all exceptions thrown by the Android RenderScript
RSSurfaceView
RSTextureView
SamplerSampler object that defines how Allocations can be read as textures within a kernel.
Sampler+BuilderBuilder for creating non-standard samplers.
Sampler+Value
ScriptThe parent class for all executable scripts.
Script+Builder
Script+FieldBaseOnly intended for use by generated reflected code.
Script+FieldIDFieldID is an identifier for a Script + exported field pair.
Script+KernelIDKernelID is an identifier for a Script + root function pair.
Script+LaunchOptionsClass used to specify clipping for a kernel launch.
ScriptCThe superclass for all user-defined scripts.
ScriptGroupA group of kernels that are executed together with one execution call as if they were a single kernel
ScriptGroup+BuilderCreate a ScriptGroup.
ScriptIntrinsicBase class for all Intrinsic scripts.
ScriptIntrinsic3DLUTIntrinsic for converting RGB to RGBA by using a 3D lookup table.
ScriptIntrinsicBlendIntrinsic kernels for blending two Allocation objects.
ScriptIntrinsicBlurIntrinsic Gausian blur filter.
ScriptIntrinsicColorMatrixIntrinsic for applying a color matrix to allocations.
ScriptIntrinsicConvolve3x3Intrinsic for applying a 3x3 convolve to an allocation.
ScriptIntrinsicConvolve5x5Intrinsic for applying a 5x5 convolve to an allocation.
ScriptIntrinsicHistogramIntrinsic Histogram filter.
ScriptIntrinsicLUTIntrinsic for applying a per-channel lookup table.
ScriptIntrinsicResizeIntrinsic for performing a resize of a 2D allocation.
ScriptIntrinsicYuvToRGBIntrinsic for converting an Android YUV buffer to RGB.
Short2Class for exposing the native RenderScript Short2 type back to the Android system.
Short3Vector version of the basic short type.
Short4Vector version of the basic short type.
TriangleFlagsEnumerates values returned by the TriangleFlags.Color, TriangleFlags.Normal, and TriangleFlags.Texture0 members and taken as a parameter of the Android.Renderscripts.Mesh.TriangleMeshBuilder..ctor member.
Type

Developer Guides

Type+BuilderBuilder class for Type.
Type+CubemapFace