## Constants

|---|---|
| [M_1_PI](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:M_1_PI) | 1 / pi, as a 32 bit float |
| [M_2_PI](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:M_2_PI) | 2 / pi, as a 32 bit float |
| [M_2_SQRTPI](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:M_2_SQRTPI) | 2 / sqrt(pi), as a 32 bit float |
| [M_E](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:M_E) | e, as a 32 bit float |
| [M_LN10](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:M_LN10) | log_e(10), as a 32 bit float |
| [M_LN2](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:M_LN2) | log_e(2), as a 32 bit float |
| [M_LOG10E](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:M_LOG10E) | log_10(e), as a 32 bit float |
| [M_LOG2E](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:M_LOG2E) | log_2(e), as a 32 bit float |
| [M_PI](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:M_PI) | pi, as a 32 bit float |
| [M_PI_2](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:M_PI_2) | pi / 2, as a 32 bit float |
| [M_PI_4](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:M_PI_4) | pi / 4, as a 32 bit float |
| [M_SQRT1_2](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:M_SQRT1_2) | 1 / sqrt(2), as a 32 bit float |
| [M_SQRT2](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:M_SQRT2) | sqrt(2), as a 32 bit float |

## Types

|---|---|
| [char2](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:char2) | Two 8 bit signed integers |
| [char3](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:char3) | Three 8 bit signed integers |
| [char4](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:char4) | Four 8 bit signed integers |
| [double2](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:double2) | Two 64 bit floats |
| [double3](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:double3) | Three 64 bit floats |
| [double4](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:double4) | Four 64 bit floats |
| [float2](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:float2) | Two 32 bit floats |
| [float3](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:float3) | Three 32 bit floats |
| [float4](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:float4) | Four 32 bit floats |
| [half](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:half) | 16 bit floating point value |
| [half2](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:half2) | Two 16 bit floats |
| [half3](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:half3) | Three 16 bit floats |
| [half4](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:half4) | Four 16 bit floats |
| [int16_t](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:int16_t) | 16 bit signed integer |
| [int2](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:int2) | Two 32 bit signed integers |
| [int3](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:int3) | Three 32 bit signed integers |
| [int32_t](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:int32_t) | 32 bit signed integer |
| [int4](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:int4) | Four 32 bit signed integers |
| [int64_t](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:int64_t) | 64 bit signed integer |
| [int8_t](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:int8_t) | 8 bit signed integer |
| [long2](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:long2) | Two 64 bit signed integers |
| [long3](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:long3) | Three 64 bit signed integers |
| [long4](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:long4) | Four 64 bit signed integers |
| [rs_allocation](https://developer.android.com/guide/topics/renderscript/reference/rs_object_types#android_rs:rs_allocation) | Handle to an allocation |
| [rs_allocation_cubemap_face](https://developer.android.com/guide/topics/renderscript/reference/rs_object_types#android_rs:rs_allocation_cubemap_face) | Enum for selecting cube map faces |
| [rs_allocation_usage_type](https://developer.android.com/guide/topics/renderscript/reference/rs_object_types#android_rs:rs_allocation_usage_type) | Bitfield to specify how an allocation is used |
| [rs_data_kind](https://developer.android.com/guide/topics/renderscript/reference/rs_object_types#android_rs:rs_data_kind) | Element data kind |
| [rs_data_type](https://developer.android.com/guide/topics/renderscript/reference/rs_object_types#android_rs:rs_data_type) | Element basic data type |
| [rs_element](https://developer.android.com/guide/topics/renderscript/reference/rs_object_types#android_rs:rs_element) | Handle to an element |
| [rs_for_each_strategy_t](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rs_for_each_strategy_t) | Suggested cell processing order |
| [rs_kernel](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rs_kernel) | Handle to a kernel function |
| [rs_kernel_context](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rs_kernel_context) | Handle to a kernel invocation context |
| [rs_matrix2x2](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:rs_matrix2x2) | 2x2 matrix of 32 bit floats |
| [rs_matrix3x3](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:rs_matrix3x3) | 3x3 matrix of 32 bit floats |
| [rs_matrix4x4](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:rs_matrix4x4) | 4x4 matrix of 32 bit floats |
| [rs_quaternion](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:rs_quaternion) | Quaternion |
| [rs_sampler](https://developer.android.com/guide/topics/renderscript/reference/rs_object_types#android_rs:rs_sampler) | Handle to a Sampler |
| [rs_sampler_value](https://developer.android.com/guide/topics/renderscript/reference/rs_object_types#android_rs:rs_sampler_value) | Sampler wrap T value |
| [rs_script](https://developer.android.com/guide/topics/renderscript/reference/rs_object_types#android_rs:rs_script) | Handle to a Script |
| [rs_script_call_t](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rs_script_call_t) | Cell iteration information |
| [rs_time_t](https://developer.android.com/guide/topics/renderscript/reference/rs_time#android_rs:rs_time_t) | Seconds since January 1, 1970 |
| [rs_tm](https://developer.android.com/guide/topics/renderscript/reference/rs_time#android_rs:rs_tm) | Date and time structure |
| [rs_type](https://developer.android.com/guide/topics/renderscript/reference/rs_object_types#android_rs:rs_type) | Handle to a Type |
| [rs_yuv_format](https://developer.android.com/guide/topics/renderscript/reference/rs_object_types#android_rs:rs_yuv_format) | YUV format |
| [short2](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:short2) | Two 16 bit signed integers |
| [short3](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:short3) | Three 16 bit signed integers |
| [short4](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:short4) | Four 16 bit signed integers |
| [size_t](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:size_t) | Unsigned size type |
| [ssize_t](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:ssize_t) | Signed size type |
| [uchar](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:uchar) | 8 bit unsigned integer |
| [uchar2](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:uchar2) | Two 8 bit unsigned integers |
| [uchar3](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:uchar3) | Three 8 bit unsigned integers |
| [uchar4](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:uchar4) | Four 8 bit unsigned integers |
| [uint](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:uint) | 32 bit unsigned integer |
| [uint16_t](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:uint16_t) | 16 bit unsigned integer |
| [uint2](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:uint2) | Two 32 bit unsigned integers |
| [uint3](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:uint3) | Three 32 bit unsigned integers |
| [uint32_t](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:uint32_t) | 32 bit unsigned integer |
| [uint4](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:uint4) | Four 32 bit unsigned integers |
| [uint64_t](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:uint64_t) | 64 bit unsigned integer |
| [uint8_t](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:uint8_t) | 8 bit unsigned integer |
| [ulong](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:ulong) | 64 bit unsigned integer |
| [ulong2](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:ulong2) | Two 64 bit unsigned integers |
| [ulong3](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:ulong3) | Three 64 bit unsigned integers |
| [ulong4](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:ulong4) | Four 64 bit unsigned integers |
| [ushort](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:ushort) | 16 bit unsigned integer |
| [ushort2](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:ushort2) | Two 16 bit unsigned integers |
| [ushort3](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:ushort3) | Three 16 bit unsigned integers |
| [ushort4](https://developer.android.com/guide/topics/renderscript/reference/rs_value_types#android_rs:ushort4) | Four 16 bit unsigned integers |

## Functions

|---|---|
| [abs](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:abs) | Absolute value of an integer |
| [acos](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:acos) | Inverse cosine |
| [acosh](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:acosh) | Inverse hyperbolic cosine |
| [acospi](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:acospi) | Inverse cosine divided by pi |
| [asin](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:asin) | Inverse sine |
| [asinh](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:asinh) | Inverse hyperbolic sine |
| [asinpi](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:asinpi) | Inverse sine divided by pi |
| [atan](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:atan) | Inverse tangent |
| [atan2](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:atan2) | Inverse tangent of a ratio |
| [atan2pi](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:atan2pi) | Inverse tangent of a ratio, divided by pi |
| [atanh](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:atanh) | Inverse hyperbolic tangent |
| [atanpi](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:atanpi) | Inverse tangent divided by pi |
| [cbrt](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:cbrt) | Cube root |
| [ceil](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:ceil) | Smallest integer not less than a value |
| [clamp](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:clamp) | Restrain a value to a range |
| [clz](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:clz) | Number of leading 0 bits |
| [convert](https://developer.android.com/guide/topics/renderscript/reference/rs_convert#android_rs:convert) | Convert numerical vectors |
| [copysign](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:copysign) | Copies the sign of a number to another |
| [cos](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:cos) | Cosine |
| [cosh](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:cosh) | Hypebolic cosine |
| [cospi](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:cospi) | Cosine of a number multiplied by pi |
| [cross](https://developer.android.com/guide/topics/renderscript/reference/rs_vector_math#android_rs:cross) | Cross product of two vectors |
| [degrees](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:degrees) | Converts radians into degrees |
| [distance](https://developer.android.com/guide/topics/renderscript/reference/rs_vector_math#android_rs:distance) | Distance between two points |
| [dot](https://developer.android.com/guide/topics/renderscript/reference/rs_vector_math#android_rs:dot) | Dot product of two vectors |
| [erf](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:erf) | Mathematical error function |
| [erfc](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:erfc) | Mathematical complementary error function |
| [exp](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:exp) | e raised to a number |
| [exp10](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:exp10) | 10 raised to a number |
| [exp2](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:exp2) | 2 raised to a number |
| [expm1](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:expm1) | e raised to a number minus one |
| [fabs](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:fabs) | Absolute value of a float |
| [fast_distance](https://developer.android.com/guide/topics/renderscript/reference/rs_vector_math#android_rs:fast_distance) | Approximate distance between two points |
| [fast_length](https://developer.android.com/guide/topics/renderscript/reference/rs_vector_math#android_rs:fast_length) | Approximate length of a vector |
| [fast_normalize](https://developer.android.com/guide/topics/renderscript/reference/rs_vector_math#android_rs:fast_normalize) | Approximate normalized vector |
| [fdim](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:fdim) | Positive difference between two values |
| [floor](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:floor) | Smallest integer not greater than a value |
| [fma](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:fma) | Multiply and add |
| [fmax](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:fmax) | Maximum of two floats |
| [fmin](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:fmin) | Minimum of two floats |
| [fmod](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:fmod) | Modulo |
| [fract](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:fract) | Positive fractional part |
| [frexp](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:frexp) | Binary mantissa and exponent |
| [half_recip](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:half_recip) | Reciprocal computed to 16 bit precision |
| [half_rsqrt](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:half_rsqrt) | Reciprocal of a square root computed to 16 bit precision |
| [half_sqrt](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:half_sqrt) | Square root computed to 16 bit precision |
| [hypot](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:hypot) | Hypotenuse |
| [ilogb](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:ilogb) | Base two exponent |
| [ldexp](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:ldexp) | Creates a floating point from mantissa and exponent |
| [length](https://developer.android.com/guide/topics/renderscript/reference/rs_vector_math#android_rs:length) | Length of a vector |
| [lgamma](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:lgamma) | Natural logarithm of the gamma function |
| [log](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:log) | Natural logarithm |
| [log10](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:log10) | Base 10 logarithm |
| [log1p](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:log1p) | Natural logarithm of a value plus 1 |
| [log2](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:log2) | Base 2 logarithm |
| [logb](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:logb) | Base two exponent |
| [mad](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:mad) | Multiply and add |
| [max](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:max) | Maximum |
| [min](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:min) | Minimum |
| [mix](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:mix) | Mixes two values |
| [modf](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:modf) | Integral and fractional components |
| [nan](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:nan) | Not a Number |
| [nan_half](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:nan_half) | Not a Number |
| [native_acos](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_acos) | Approximate inverse cosine |
| [native_acosh](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_acosh) | Approximate inverse hyperbolic cosine |
| [native_acospi](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_acospi) | Approximate inverse cosine divided by pi |
| [native_asin](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_asin) | Approximate inverse sine |
| [native_asinh](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_asinh) | Approximate inverse hyperbolic sine |
| [native_asinpi](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_asinpi) | Approximate inverse sine divided by pi |
| [native_atan](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_atan) | Approximate inverse tangent |
| [native_atan2](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_atan2) | Approximate inverse tangent of a ratio |
| [native_atan2pi](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_atan2pi) | Approximate inverse tangent of a ratio, divided by pi |
| [native_atanh](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_atanh) | Approximate inverse hyperbolic tangent |
| [native_atanpi](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_atanpi) | Approximate inverse tangent divided by pi |
| [native_cbrt](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_cbrt) | Approximate cube root |
| [native_cos](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_cos) | Approximate cosine |
| [native_cosh](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_cosh) | Approximate hypebolic cosine |
| [native_cospi](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_cospi) | Approximate cosine of a number multiplied by pi |
| [native_distance](https://developer.android.com/guide/topics/renderscript/reference/rs_vector_math#android_rs:native_distance) | Approximate distance between two points |
| [native_divide](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_divide) | Approximate division |
| [native_exp](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_exp) | Approximate e raised to a number |
| [native_exp10](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_exp10) | Approximate 10 raised to a number |
| [native_exp2](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_exp2) | Approximate 2 raised to a number |
| [native_expm1](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_expm1) | Approximate e raised to a number minus one |
| [native_hypot](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_hypot) | Approximate hypotenuse |
| [native_length](https://developer.android.com/guide/topics/renderscript/reference/rs_vector_math#android_rs:native_length) | Approximate length of a vector |
| [native_log](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_log) | Approximate natural logarithm |
| [native_log10](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_log10) | Approximate base 10 logarithm |
| [native_log1p](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_log1p) | Approximate natural logarithm of a value plus 1 |
| [native_log2](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_log2) | Approximate base 2 logarithm |
| [native_normalize](https://developer.android.com/guide/topics/renderscript/reference/rs_vector_math#android_rs:native_normalize) | Approximately normalize a vector |
| [native_powr](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_powr) | Approximate positive base raised to an exponent |
| [native_recip](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_recip) | Approximate reciprocal |
| [native_rootn](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_rootn) | Approximate nth root |
| [native_rsqrt](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_rsqrt) | Approximate reciprocal of a square root |
| [native_sin](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_sin) | Approximate sine |
| [native_sincos](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_sincos) | Approximate sine and cosine |
| [native_sinh](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_sinh) | Approximate hyperbolic sine |
| [native_sinpi](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_sinpi) | Approximate sine of a number multiplied by pi |
| [native_sqrt](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_sqrt) | Approximate square root |
| [native_tan](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_tan) | Approximate tangent |
| [native_tanh](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_tanh) | Approximate hyperbolic tangent |
| [native_tanpi](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:native_tanpi) | Approximate tangent of a number multiplied by pi |
| [nextafter](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:nextafter) | Next floating point number |
| [normalize](https://developer.android.com/guide/topics/renderscript/reference/rs_vector_math#android_rs:normalize) | Normalize a vector |
| [pow](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:pow) | Base raised to an exponent |
| [pown](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:pown) | Base raised to an integer exponent |
| [powr](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:powr) | Positive base raised to an exponent |
| [radians](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:radians) | Converts degrees into radians |
| [remainder](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:remainder) | Remainder of a division |
| [remquo](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:remquo) | Remainder and quotient of a division |
| [rint](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:rint) | Round to even |
| [rootn](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:rootn) | Nth root |
| [round](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:round) | Round away from zero |
| [rsAllocationCopy1DRange](https://developer.android.com/guide/topics/renderscript/reference/rs_allocation_data#android_rs:rsAllocationCopy1DRange) | Copy consecutive cells between allocations |
| [rsAllocationCopy2DRange](https://developer.android.com/guide/topics/renderscript/reference/rs_allocation_data#android_rs:rsAllocationCopy2DRange) | Copy a rectangular region of cells between allocations |
| [rsAllocationGetDimFaces](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsAllocationGetDimFaces) | Presence of more than one face |
| [rsAllocationGetDimLOD](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsAllocationGetDimLOD) | Presence of levels of detail |
| [rsAllocationGetDimX](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsAllocationGetDimX) | Size of the X dimension |
| [rsAllocationGetDimY](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsAllocationGetDimY) | Size of the Y dimension |
| [rsAllocationGetDimZ](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsAllocationGetDimZ) | Size of the Z dimension |
| [rsAllocationGetElement](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsAllocationGetElement) | Get the object that describes the cell of an Allocation |
| [rsAllocationIoReceive](https://developer.android.com/guide/topics/renderscript/reference/rs_io#android_rs:rsAllocationIoReceive) | Receive new content from the queue |
| [rsAllocationIoSend](https://developer.android.com/guide/topics/renderscript/reference/rs_io#android_rs:rsAllocationIoSend) | Send new content to the queue |
| [rsAllocationVLoadX](https://developer.android.com/guide/topics/renderscript/reference/rs_allocation_data#android_rs:rsAllocationVLoadX) | Get a vector from an allocation of scalars |
| [rsAllocationVStoreX](https://developer.android.com/guide/topics/renderscript/reference/rs_allocation_data#android_rs:rsAllocationVStoreX) | Store a vector into an allocation of scalars |
| [rsAtomicAdd](https://developer.android.com/guide/topics/renderscript/reference/rs_atomic#android_rs:rsAtomicAdd) | Thread-safe addition |
| [rsAtomicAnd](https://developer.android.com/guide/topics/renderscript/reference/rs_atomic#android_rs:rsAtomicAnd) | Thread-safe bitwise and |
| [rsAtomicCas](https://developer.android.com/guide/topics/renderscript/reference/rs_atomic#android_rs:rsAtomicCas) | Thread-safe compare and set |
| [rsAtomicDec](https://developer.android.com/guide/topics/renderscript/reference/rs_atomic#android_rs:rsAtomicDec) | Thread-safe decrement |
| [rsAtomicInc](https://developer.android.com/guide/topics/renderscript/reference/rs_atomic#android_rs:rsAtomicInc) | Thread-safe increment |
| [rsAtomicMax](https://developer.android.com/guide/topics/renderscript/reference/rs_atomic#android_rs:rsAtomicMax) | Thread-safe maximum |
| [rsAtomicMin](https://developer.android.com/guide/topics/renderscript/reference/rs_atomic#android_rs:rsAtomicMin) | Thread-safe minimum |
| [rsAtomicOr](https://developer.android.com/guide/topics/renderscript/reference/rs_atomic#android_rs:rsAtomicOr) | Thread-safe bitwise or |
| [rsAtomicSub](https://developer.android.com/guide/topics/renderscript/reference/rs_atomic#android_rs:rsAtomicSub) | Thread-safe subtraction |
| [rsAtomicXor](https://developer.android.com/guide/topics/renderscript/reference/rs_atomic#android_rs:rsAtomicXor) | Thread-safe bitwise exclusive or |
| [rsClearObject](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsClearObject) | Release an object |
| [rsCreateAllocation](https://developer.android.com/guide/topics/renderscript/reference/rs_allocation_create#android_rs:rsCreateAllocation) | Create an rs_allocation object of given Type. |
| [rsCreateElement](https://developer.android.com/guide/topics/renderscript/reference/rs_allocation_create#android_rs:rsCreateElement) | Creates an rs_element object of the specified data type |
| [rsCreatePixelElement](https://developer.android.com/guide/topics/renderscript/reference/rs_allocation_create#android_rs:rsCreatePixelElement) | Creates an rs_element object of the specified data type and data kind |
| [rsCreateType](https://developer.android.com/guide/topics/renderscript/reference/rs_allocation_create#android_rs:rsCreateType) | Creates an rs_type object with the specified Element and shape attributes |
| [rsCreateVectorElement](https://developer.android.com/guide/topics/renderscript/reference/rs_allocation_create#android_rs:rsCreateVectorElement) | Creates an rs_element object of the specified data type and vector width |
| [rsDebug](https://developer.android.com/guide/topics/renderscript/reference/rs_debug#android_rs:rsDebug) | Log a message and values |
| [rsElementGetBytesSize](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsElementGetBytesSize) | Size of an Element |
| [rsElementGetDataKind](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsElementGetDataKind) | Kind of an Element |
| [rsElementGetDataType](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsElementGetDataType) | Data type of an Element |
| [rsElementGetSubElement](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsElementGetSubElement) | Sub-element of a complex Element |
| [rsElementGetSubElementArraySize](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsElementGetSubElementArraySize) | Array size of a sub-element of a complex Element |
| [rsElementGetSubElementCount](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsElementGetSubElementCount) | Number of sub-elements |
| [rsElementGetSubElementName](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsElementGetSubElementName) | Name of a sub-element |
| [rsElementGetSubElementNameLength](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsElementGetSubElementNameLength) | Length of the name of a sub-element |
| [rsElementGetSubElementOffsetBytes](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsElementGetSubElementOffsetBytes) | Offset of the instantiated sub-element |
| [rsElementGetVectorSize](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsElementGetVectorSize) | Vector size of the Element |
| [rsExtractFrustumPlanes](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsExtractFrustumPlanes) | Compute frustum planes |
| [rsForEach](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rsForEach) | Launches a kernel |
| [rsForEachInternal](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rsForEachInternal) | (Internal API) Launch a kernel in the current Script (with the slot number) |
| [rsForEachWithOptions](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rsForEachWithOptions) | Launches a kernel with options |
| [rsGetArray0](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rsGetArray0) | Index in the Array0 dimension for the specified kernel context |
| [rsGetArray1](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rsGetArray1) | Index in the Array1 dimension for the specified kernel context |
| [rsGetArray2](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rsGetArray2) | Index in the Array2 dimension for the specified kernel context |
| [rsGetArray3](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rsGetArray3) | Index in the Array3 dimension for the specified kernel context |
| [rsGetDimArray0](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rsGetDimArray0) | Size of the Array0 dimension for the specified kernel context |
| [rsGetDimArray1](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rsGetDimArray1) | Size of the Array1 dimension for the specified kernel context |
| [rsGetDimArray2](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rsGetDimArray2) | Size of the Array2 dimension for the specified kernel context |
| [rsGetDimArray3](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rsGetDimArray3) | Size of the Array3 dimension for the specified kernel context |
| [rsGetDimHasFaces](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rsGetDimHasFaces) | Presence of more than one face for the specified kernel context |
| [rsGetDimLod](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rsGetDimLod) | Number of levels of detail for the specified kernel context |
| [rsGetDimX](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rsGetDimX) | Size of the X dimension for the specified kernel context |
| [rsGetDimY](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rsGetDimY) | Size of the Y dimension for the specified kernel context |
| [rsGetDimZ](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rsGetDimZ) | Size of the Z dimension for the specified kernel context |
| [rsGetDt](https://developer.android.com/guide/topics/renderscript/reference/rs_time#android_rs:rsGetDt) | Elapsed time since last call |
| [rsGetElementAt](https://developer.android.com/guide/topics/renderscript/reference/rs_allocation_data#android_rs:rsGetElementAt) | Return a cell from an allocation |
| [rsGetElementAtYuv_uchar_U](https://developer.android.com/guide/topics/renderscript/reference/rs_allocation_data#android_rs:rsGetElementAtYuv_uchar_U) | Get the U component of an allocation of YUVs |
| [rsGetElementAtYuv_uchar_V](https://developer.android.com/guide/topics/renderscript/reference/rs_allocation_data#android_rs:rsGetElementAtYuv_uchar_V) | Get the V component of an allocation of YUVs |
| [rsGetElementAtYuv_uchar_Y](https://developer.android.com/guide/topics/renderscript/reference/rs_allocation_data#android_rs:rsGetElementAtYuv_uchar_Y) | Get the Y component of an allocation of YUVs |
| [rsGetFace](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rsGetFace) | Coordinate of the Face for the specified kernel context |
| [rsGetLod](https://developer.android.com/guide/topics/renderscript/reference/rs_for_each#android_rs:rsGetLod) | Index in the Levels of Detail dimension for the specified kernel context |
| [rsIsObject](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsIsObject) | Check for an empty handle |
| [rsIsSphereInFrustum](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsIsSphereInFrustum) | Checks if a sphere is within the frustum planes |
| [rsLocaltime](https://developer.android.com/guide/topics/renderscript/reference/rs_time#android_rs:rsLocaltime) | Convert to local time |
| [rsMatrixGet](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsMatrixGet) | Get one element |
| [rsMatrixInverse](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsMatrixInverse) | Inverts a matrix in place |
| [rsMatrixInverseTranspose](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsMatrixInverseTranspose) | Inverts and transpose a matrix in place |
| [rsMatrixLoad](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsMatrixLoad) | Load or copy a matrix |
| [rsMatrixLoadFrustum](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsMatrixLoadFrustum) | Load a frustum projection matrix |
| [rsMatrixLoadIdentity](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsMatrixLoadIdentity) | Load identity matrix |
| [rsMatrixLoadMultiply](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsMatrixLoadMultiply) | Multiply two matrices |
| [rsMatrixLoadOrtho](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsMatrixLoadOrtho) | Load an orthographic projection matrix |
| [rsMatrixLoadPerspective](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsMatrixLoadPerspective) | Load a perspective projection matrix |
| [rsMatrixLoadRotate](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsMatrixLoadRotate) | Load a rotation matrix |
| [rsMatrixLoadScale](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsMatrixLoadScale) | Load a scaling matrix |
| [rsMatrixLoadTranslate](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsMatrixLoadTranslate) | Load a translation matrix |
| [rsMatrixMultiply](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsMatrixMultiply) | Multiply a matrix by a vector or another matrix |
| [rsMatrixRotate](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsMatrixRotate) | Apply a rotation to a transformation matrix |
| [rsMatrixScale](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsMatrixScale) | Apply a scaling to a transformation matrix |
| [rsMatrixSet](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsMatrixSet) | Set one element |
| [rsMatrixTranslate](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsMatrixTranslate) | Apply a translation to a transformation matrix |
| [rsMatrixTranspose](https://developer.android.com/guide/topics/renderscript/reference/rs_matrix#android_rs:rsMatrixTranspose) | Transpose a matrix place |
| [rsPackColorTo8888](https://developer.android.com/guide/topics/renderscript/reference/rs_convert#android_rs:rsPackColorTo8888) | Create a uchar4 RGBA from floats |
| [rsQuaternionAdd](https://developer.android.com/guide/topics/renderscript/reference/rs_quaternion#android_rs:rsQuaternionAdd) | Add two quaternions |
| [rsQuaternionConjugate](https://developer.android.com/guide/topics/renderscript/reference/rs_quaternion#android_rs:rsQuaternionConjugate) | Conjugate a quaternion |
| [rsQuaternionDot](https://developer.android.com/guide/topics/renderscript/reference/rs_quaternion#android_rs:rsQuaternionDot) | Dot product of two quaternions |
| [rsQuaternionGetMatrixUnit](https://developer.android.com/guide/topics/renderscript/reference/rs_quaternion#android_rs:rsQuaternionGetMatrixUnit) | Get a rotation matrix from a quaternion |
| [rsQuaternionLoadRotate](https://developer.android.com/guide/topics/renderscript/reference/rs_quaternion#android_rs:rsQuaternionLoadRotate) | Create a rotation quaternion |
| [rsQuaternionLoadRotateUnit](https://developer.android.com/guide/topics/renderscript/reference/rs_quaternion#android_rs:rsQuaternionLoadRotateUnit) | Quaternion that represents a rotation about an arbitrary unit vector |
| [rsQuaternionMultiply](https://developer.android.com/guide/topics/renderscript/reference/rs_quaternion#android_rs:rsQuaternionMultiply) | Multiply a quaternion by a scalar or another quaternion |
| [rsQuaternionNormalize](https://developer.android.com/guide/topics/renderscript/reference/rs_quaternion#android_rs:rsQuaternionNormalize) | Normalize a quaternion |
| [rsQuaternionSet](https://developer.android.com/guide/topics/renderscript/reference/rs_quaternion#android_rs:rsQuaternionSet) | Create a quaternion |
| [rsQuaternionSlerp](https://developer.android.com/guide/topics/renderscript/reference/rs_quaternion#android_rs:rsQuaternionSlerp) | Spherical linear interpolation between two quaternions |
| [rsRand](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:rsRand) | Pseudo-random number |
| [rsSample](https://developer.android.com/guide/topics/renderscript/reference/rs_allocation_data#android_rs:rsSample) | Sample a value from a texture allocation |
| [rsSamplerGetAnisotropy](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsSamplerGetAnisotropy) | Anisotropy of the Sampler |
| [rsSamplerGetMagnification](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsSamplerGetMagnification) | Sampler magnification value |
| [rsSamplerGetMinification](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsSamplerGetMinification) | Sampler minification value |
| [rsSamplerGetWrapS](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsSamplerGetWrapS) | Sampler wrap S value |
| [rsSamplerGetWrapT](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsSamplerGetWrapT) | Sampler wrap T value |
| [rsSendToClient](https://developer.android.com/guide/topics/renderscript/reference/rs_io#android_rs:rsSendToClient) | Send a message to the client, non-blocking |
| [rsSendToClientBlocking](https://developer.android.com/guide/topics/renderscript/reference/rs_io#android_rs:rsSendToClientBlocking) | Send a message to the client, blocking |
| [rsSetElementAt](https://developer.android.com/guide/topics/renderscript/reference/rs_allocation_data#android_rs:rsSetElementAt) | Set a cell of an allocation |
| [rsTime](https://developer.android.com/guide/topics/renderscript/reference/rs_time#android_rs:rsTime) | Seconds since January 1, 1970 |
| [rsUnpackColor8888](https://developer.android.com/guide/topics/renderscript/reference/rs_convert#android_rs:rsUnpackColor8888) | Create a float4 RGBA from uchar4 |
| [rsUptimeMillis](https://developer.android.com/guide/topics/renderscript/reference/rs_time#android_rs:rsUptimeMillis) | System uptime in milliseconds |
| [rsUptimeNanos](https://developer.android.com/guide/topics/renderscript/reference/rs_time#android_rs:rsUptimeNanos) | System uptime in nanoseconds |
| [rsYuvToRGBA](https://developer.android.com/guide/topics/renderscript/reference/rs_convert#android_rs:rsYuvToRGBA) | Convert a YUV value to RGBA |
| [rsqrt](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:rsqrt) | Reciprocal of a square root |
| [sign](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:sign) | Sign of a value |
| [sin](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:sin) | Sine |
| [sincos](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:sincos) | Sine and cosine |
| [sinh](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:sinh) | Hyperbolic sine |
| [sinpi](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:sinpi) | Sine of a number multiplied by pi |
| [sqrt](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:sqrt) | Square root |
| [step](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:step) | 0 if less than a value, 0 otherwise |
| [tan](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:tan) | Tangent |
| [tanh](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:tanh) | Hyperbolic tangent |
| [tanpi](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:tanpi) | Tangent of a number multiplied by pi |
| [tgamma](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:tgamma) | Gamma function |
| [trunc](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:trunc) | Truncates a floating point |

## Deprecated Types

|---|---|
| [rs_blend_dst_func](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rs_blend_dst_func) | **Deprecated**. Blend destination function |
| [rs_blend_src_func](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rs_blend_src_func) | **Deprecated**. Blend source function |
| [rs_cull_mode](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rs_cull_mode) | **Deprecated**. Culling mode |
| [rs_depth_func](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rs_depth_func) | **Deprecated**. Depth function |
| [rs_font](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rs_font) | **Deprecated**. Handle to a Font |
| [rs_mesh](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rs_mesh) | **Deprecated**. Handle to a Mesh |
| [rs_primitive](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rs_primitive) | **Deprecated**. How to interpret mesh vertex data |
| [rs_program_fragment](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rs_program_fragment) | **Deprecated**. Handle to a ProgramFragment |
| [rs_program_raster](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rs_program_raster) | **Deprecated**. Handle to a ProgramRaster |
| [rs_program_store](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rs_program_store) | **Deprecated**. Handle to a ProgramStore |
| [rs_program_vertex](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rs_program_vertex) | **Deprecated**. Handle to a ProgramVertex |

## Deprecated Functions

|---|---|
| [rsClamp](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:rsClamp) | **Deprecated**. Restrain a value to a range |
| [rsFrac](https://developer.android.com/guide/topics/renderscript/reference/rs_math#android_rs:rsFrac) | **Deprecated**. Returns the fractional part of a float |
| [rsGetAllocation](https://developer.android.com/guide/topics/renderscript/reference/rs_object_info#android_rs:rsGetAllocation) | **Deprecated**. Return the Allocation for a given pointer |
| [rsgAllocationSyncAll](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgAllocationSyncAll) | **Deprecated**. Sync the contents of an allocation |
| [rsgBindColorTarget](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgBindColorTarget) | **Deprecated**. Set the color target |
| [rsgBindConstant](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgBindConstant) | **Deprecated**. Bind a constant allocation |
| [rsgBindDepthTarget](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgBindDepthTarget) | **Deprecated**. Set the depth target |
| [rsgBindFont](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgBindFont) | **Deprecated**. Bind a font object |
| [rsgBindProgramFragment](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgBindProgramFragment) | **Deprecated**. Bind a ProgramFragment |
| [rsgBindProgramRaster](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgBindProgramRaster) | **Deprecated**. Bind a ProgramRaster |
| [rsgBindProgramStore](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgBindProgramStore) | **Deprecated**. Bind a ProgramStore |
| [rsgBindProgramVertex](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgBindProgramVertex) | **Deprecated**. Bind a ProgramVertex |
| [rsgBindSampler](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgBindSampler) | **Deprecated**. Bind a sampler |
| [rsgBindTexture](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgBindTexture) | **Deprecated**. Bind a texture allocation |
| [rsgClearAllRenderTargets](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgClearAllRenderTargets) | **Deprecated**. Clear all color and depth targets |
| [rsgClearColor](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgClearColor) | **Deprecated**. Clear the specified color from the surface |
| [rsgClearColorTarget](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgClearColorTarget) | **Deprecated**. Clear the color target |
| [rsgClearDepth](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgClearDepth) | **Deprecated**. Clear the depth surface |
| [rsgClearDepthTarget](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgClearDepthTarget) | **Deprecated**. Clear the depth target |
| [rsgDrawMesh](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgDrawMesh) | **Deprecated**. Draw a mesh |
| [rsgDrawQuad](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgDrawQuad) | **Deprecated**. Draw a quad |
| [rsgDrawQuadTexCoords](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgDrawQuadTexCoords) | **Deprecated**. Draw a textured quad |
| [rsgDrawRect](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgDrawRect) | **Deprecated**. Draw a rectangle |
| [rsgDrawSpriteScreenspace](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgDrawSpriteScreenspace) | **Deprecated**. Draw rectangles in screenspace |
| [rsgDrawText](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgDrawText) | **Deprecated**. Draw a text string |
| [rsgFinish](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgFinish) | **Deprecated**. End rendering commands |
| [rsgFontColor](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgFontColor) | **Deprecated**. Set the font color |
| [rsgGetHeight](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgGetHeight) | **Deprecated**. Get the surface height |
| [rsgGetWidth](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgGetWidth) | **Deprecated**. Get the surface width |
| [rsgMeasureText](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgMeasureText) | **Deprecated**. Get the bounding box for a text string |
| [rsgMeshComputeBoundingBox](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgMeshComputeBoundingBox) | **Deprecated**. Compute a bounding box |
| [rsgMeshGetIndexAllocation](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgMeshGetIndexAllocation) | **Deprecated**. Return an allocation containing index data |
| [rsgMeshGetPrimitive](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgMeshGetPrimitive) | **Deprecated**. Return the primitive |
| [rsgMeshGetPrimitiveCount](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgMeshGetPrimitiveCount) | **Deprecated**. Return the number of index sets |
| [rsgMeshGetVertexAllocation](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgMeshGetVertexAllocation) | **Deprecated**. Return a vertex allocation |
| [rsgMeshGetVertexAllocationCount](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgMeshGetVertexAllocationCount) | **Deprecated**. Return the number of vertex allocations |
| [rsgProgramFragmentConstantColor](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgProgramFragmentConstantColor) | **Deprecated**. Set the constant color for a fixed function emulation program |
| [rsgProgramRasterGetCullMode](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgProgramRasterGetCullMode) | **Deprecated**. Get program raster cull mode |
| [rsgProgramRasterIsPointSpriteEnabled](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgProgramRasterIsPointSpriteEnabled) | **Deprecated**. Get program raster point sprite state |
| [rsgProgramStoreGetBlendDstFunc](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgProgramStoreGetBlendDstFunc) | **Deprecated**. Get program store blend destination function |
| [rsgProgramStoreGetBlendSrcFunc](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgProgramStoreGetBlendSrcFunc) | **Deprecated**. Get program store blend source function |
| [rsgProgramStoreGetDepthFunc](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgProgramStoreGetDepthFunc) | **Deprecated**. Get program store depth function |
| [rsgProgramStoreIsColorMaskAlphaEnabled](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgProgramStoreIsColorMaskAlphaEnabled) | **Deprecated**. Get program store alpha component color mask |
| [rsgProgramStoreIsColorMaskBlueEnabled](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgProgramStoreIsColorMaskBlueEnabled) | **Deprecated**. Get program store blur component color mask |
| [rsgProgramStoreIsColorMaskGreenEnabled](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgProgramStoreIsColorMaskGreenEnabled) | **Deprecated**. Get program store green component color mask |
| [rsgProgramStoreIsColorMaskRedEnabled](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgProgramStoreIsColorMaskRedEnabled) | **Deprecated**. Get program store red component color mask |
| [rsgProgramStoreIsDepthMaskEnabled](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgProgramStoreIsDepthMaskEnabled) | **Deprecated**. Get program store depth mask |
| [rsgProgramStoreIsDitherEnabled](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgProgramStoreIsDitherEnabled) | **Deprecated**. Get program store dither state |
| [rsgProgramVertexGetProjectionMatrix](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgProgramVertexGetProjectionMatrix) | **Deprecated**. Get the projection matrix for a fixed function vertex program |
| [rsgProgramVertexLoadModelMatrix](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgProgramVertexLoadModelMatrix) | **Deprecated**. Load the model matrix for a bound fixed function vertex program |
| [rsgProgramVertexLoadProjectionMatrix](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgProgramVertexLoadProjectionMatrix) | **Deprecated**. Load the projection matrix for a bound fixed function vertex program |
| [rsgProgramVertexLoadTextureMatrix](https://developer.android.com/guide/topics/renderscript/reference/rs_graphics#android_rs:rsgProgramVertexLoadTextureMatrix) | **Deprecated**. Load the texture matrix for a bound fixed function vertex program |