am 54c1efd8: am 5c7817bc: Merge "Update the RenderScript runtime documentation for MNC." into mnc-dev
* commit '54c1efd8449eddaf1d772e7d4e82efa40e2e4d85': Update the RenderScript runtime documentation for MNC.
This commit is contained in:
@@ -184,6 +184,38 @@ page.title=RenderScript Index
|
|||||||
Four 32 bit floats
|
Four 32 bit floats
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_value_types.html#android_rs:half'>half</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
16 bit floating point value
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_value_types.html#android_rs:half2'>half2</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Two 16 bit floats
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_value_types.html#android_rs:half3'>half3</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Three 16 bit floats
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_value_types.html#android_rs:half4'>half4</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Four 16 bit floats
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr class='alt-color api apilevel-1'>
|
<tr class='alt-color api apilevel-1'>
|
||||||
<td class='jd-linkcol'>
|
<td class='jd-linkcol'>
|
||||||
<a href='rs_value_types.html#android_rs:int16_t'>int16_t</a>
|
<a href='rs_value_types.html#android_rs:int16_t'>int16_t</a>
|
||||||
@@ -320,6 +352,14 @@ page.title=RenderScript Index
|
|||||||
Suggested cell processing order
|
Suggested cell processing order
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Handle to a kernel invocation context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr class='alt-color api apilevel-1'>
|
<tr class='alt-color api apilevel-1'>
|
||||||
<td class='jd-linkcol'>
|
<td class='jd-linkcol'>
|
||||||
<a href='rs_value_types.html#android_rs:rs_matrix2x2'>rs_matrix2x2</a>
|
<a href='rs_value_types.html#android_rs:rs_matrix2x2'>rs_matrix2x2</a>
|
||||||
@@ -1803,6 +1843,110 @@ page.title=RenderScript Index
|
|||||||
Invoke the root kernel of a script
|
Invoke the root kernel of a script
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetArray0'>rsGetArray0</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Index in the Array0 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetArray1'>rsGetArray1</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Index in the Array1 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetArray2'>rsGetArray2</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Index in the Array2 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetArray3'>rsGetArray3</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Index in the Array3 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimArray0'>rsGetDimArray0</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the Array0 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimArray1'>rsGetDimArray1</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the Array1 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimArray2'>rsGetDimArray2</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the Array2 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimArray3'>rsGetDimArray3</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the Array3 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimHasFaces'>rsGetDimHasFaces</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Presence of more than one face for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimLod'>rsGetDimLod</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Number of levels of detail for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimX'>rsGetDimX</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the X dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimY'>rsGetDimY</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the Y dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimZ'>rsGetDimZ</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the Z dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr class='alt-color api apilevel-1'>
|
<tr class='alt-color api apilevel-1'>
|
||||||
<td class='jd-linkcol'>
|
<td class='jd-linkcol'>
|
||||||
<a href='rs_time.html#android_rs:rsGetDt'>rsGetDt</a>
|
<a href='rs_time.html#android_rs:rsGetDt'>rsGetDt</a>
|
||||||
@@ -1843,6 +1987,22 @@ page.title=RenderScript Index
|
|||||||
Get the Y component of an allocation of YUVs
|
Get the Y component of an allocation of YUVs
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetFace'>rsGetFace</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Coordinate of the Face for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetLod'>rsGetLod</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Index in the Levels of Detail dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr class='alt-color api apilevel-1'>
|
<tr class='alt-color api apilevel-1'>
|
||||||
<td class='jd-linkcol'>
|
<td class='jd-linkcol'>
|
||||||
<a href='rs_object_info.html#android_rs:rsIsObject'>rsIsObject</a>
|
<a href='rs_object_info.html#android_rs:rsIsObject'>rsIsObject</a>
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ framework APIs interact, see the <a target="_parent" href="http://developer.andr
|
|||||||
<tr><td> </td> <td>8 bits </td> <td>16 bits </td> <td>32 bits </td> <td>64 bits</td></tr>
|
<tr><td> </td> <td>8 bits </td> <td>16 bits </td> <td>32 bits </td> <td>64 bits</td></tr>
|
||||||
<tr><td>Integer: </td> <td>char, <a href='rs_value_types.html#android_rs:int8_t'>int8_t</a> </td> <td>short, <a href='rs_value_types.html#android_rs:int16_t'>int16_t</a> </td> <td><a href='rs_value_types.html#android_rs:int32_t'>int32_t</a> </td> <td>long, long long, <a href='rs_value_types.html#android_rs:int64_t'>int64_t</a></td></tr>
|
<tr><td>Integer: </td> <td>char, <a href='rs_value_types.html#android_rs:int8_t'>int8_t</a> </td> <td>short, <a href='rs_value_types.html#android_rs:int16_t'>int16_t</a> </td> <td><a href='rs_value_types.html#android_rs:int32_t'>int32_t</a> </td> <td>long, long long, <a href='rs_value_types.html#android_rs:int64_t'>int64_t</a></td></tr>
|
||||||
<tr><td>Unsigned integer:</td> <td>uchar, <a href='rs_value_types.html#android_rs:uint8_t'>uint8_t</a></td> <td>ushort, <a href='rs_value_types.html#android_rs:uint16_t'>uint16_t</a></td> <td>uint, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a></td> <td>ulong, <a href='rs_value_types.html#android_rs:uint64_t'>uint64_t</a></td></tr>
|
<tr><td>Unsigned integer:</td> <td>uchar, <a href='rs_value_types.html#android_rs:uint8_t'>uint8_t</a></td> <td>ushort, <a href='rs_value_types.html#android_rs:uint16_t'>uint16_t</a></td> <td>uint, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a></td> <td>ulong, <a href='rs_value_types.html#android_rs:uint64_t'>uint64_t</a></td></tr>
|
||||||
<tr><td>Floating point: </td> <td> </td> <td> </td> <td>float </td> <td>double</td></tr>
|
<tr><td>Floating point: </td> <td> </td> <td>half </td> <td>float </td> <td>double</td></tr>
|
||||||
</table>
|
</table>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@@ -178,6 +178,38 @@ of operations.
|
|||||||
Four 32 bit floats
|
Four 32 bit floats
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_value_types.html#android_rs:half'>half</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
16 bit floating point value
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_value_types.html#android_rs:half2'>half2</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Two 16 bit floats
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_value_types.html#android_rs:half3'>half3</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Three 16 bit floats
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_value_types.html#android_rs:half4'>half4</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Four 16 bit floats
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr class='alt-color api apilevel-1'>
|
<tr class='alt-color api apilevel-1'>
|
||||||
<td class='jd-linkcol'>
|
<td class='jd-linkcol'>
|
||||||
<a href='rs_value_types.html#android_rs:int16_t'>int16_t</a>
|
<a href='rs_value_types.html#android_rs:int16_t'>int16_t</a>
|
||||||
@@ -2585,6 +2617,11 @@ See <a href='http://developer.android.com/reference/android/renderscript/Sampler
|
|||||||
<h2>Kernel Invocation Functions and Types</h2>
|
<h2>Kernel Invocation Functions and Types</h2>
|
||||||
<p> The <a href='rs_for_each.html#android_rs:rsForEach'>rsForEach</a>() function can be used to invoke the root kernel of a script.
|
<p> The <a href='rs_for_each.html#android_rs:rsForEach'>rsForEach</a>() function can be used to invoke the root kernel of a script.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p> The other functions are used to get the characteristics of the invocation of
|
||||||
|
an executing kernel, like dimensions and current indices. These functions take
|
||||||
|
a <a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a> as argument.
|
||||||
|
</p>
|
||||||
<table class='jd-sumtable'><tbody>
|
<table class='jd-sumtable'><tbody>
|
||||||
<tr><th colspan='2'>Types</th></tr>
|
<tr><th colspan='2'>Types</th></tr>
|
||||||
<tr class='alt-color api apilevel-1'>
|
<tr class='alt-color api apilevel-1'>
|
||||||
@@ -2595,6 +2632,14 @@ See <a href='http://developer.android.com/reference/android/renderscript/Sampler
|
|||||||
Suggested cell processing order
|
Suggested cell processing order
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Handle to a kernel invocation context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr class='alt-color api apilevel-1'>
|
<tr class='alt-color api apilevel-1'>
|
||||||
<td class='jd-linkcol'>
|
<td class='jd-linkcol'>
|
||||||
<a href='rs_for_each.html#android_rs:rs_script_call_t'>rs_script_call_t</a>
|
<a href='rs_for_each.html#android_rs:rs_script_call_t'>rs_script_call_t</a>
|
||||||
@@ -2614,6 +2659,126 @@ See <a href='http://developer.android.com/reference/android/renderscript/Sampler
|
|||||||
Invoke the root kernel of a script
|
Invoke the root kernel of a script
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetArray0'>rsGetArray0</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Index in the Array0 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetArray1'>rsGetArray1</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Index in the Array1 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetArray2'>rsGetArray2</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Index in the Array2 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetArray3'>rsGetArray3</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Index in the Array3 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimArray0'>rsGetDimArray0</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the Array0 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimArray1'>rsGetDimArray1</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the Array1 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimArray2'>rsGetDimArray2</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the Array2 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimArray3'>rsGetDimArray3</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the Array3 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimHasFaces'>rsGetDimHasFaces</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Presence of more than one face for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimLod'>rsGetDimLod</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Number of levels of detail for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimX'>rsGetDimX</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the X dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimY'>rsGetDimY</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the Y dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimZ'>rsGetDimZ</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the Z dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetFace'>rsGetFace</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Coordinate of the Face for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetLod'>rsGetLod</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Index in the Levels of Detail dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
<h2>Input/Output Functions</h2>
|
<h2>Input/Output Functions</h2>
|
||||||
<p> These functions are used to:<ul>
|
<p> These functions are used to:<ul>
|
||||||
@@ -2671,6 +2836,6 @@ They should not be used in shipping applications.
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
<h2>Graphics Functions and Types</h2>
|
<h2>Graphics Functions and Types</h2>
|
||||||
<p> The graphics subsystem of RenderScript has been deprecated.
|
<p> The graphics subsystem of RenderScript was removed at API level 23.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1365,7 +1365,7 @@ mono dimensional allocations.
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p> For efficiency, this function does not validate the inputs. Trying to wrap the
|
<p> For efficiency, this function does not validate the inputs. Trying to wrap the
|
||||||
X index, exceeding the size of the allocation, or using indexes incompatible
|
X index, exceeding the size of the allocation, or using indices incompatible
|
||||||
with the dimensionality of the allocation yiels undefined results.
|
with the dimensionality of the allocation yiels undefined results.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@@ -1577,6 +1577,78 @@ with the dimensionality of the allocation yiels undefined results.
|
|||||||
</td>
|
</td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:half'>half</a> rsGetElementAt_half(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:half'>half</a> rsGetElementAt_half(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> y);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:half'>half</a> rsGetElementAt_half(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> y, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> z);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:half2'>half2</a> rsGetElementAt_half2(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:half2'>half2</a> rsGetElementAt_half2(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> y);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:half2'>half2</a> rsGetElementAt_half2(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> y, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> z);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:half3'>half3</a> rsGetElementAt_half3(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:half3'>half3</a> rsGetElementAt_half3(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> y);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:half3'>half3</a> rsGetElementAt_half3(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> y, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> z);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:half4'>half4</a> rsGetElementAt_half4(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:half4'>half4</a> rsGetElementAt_half4(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> y);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:half4'>half4</a> rsGetElementAt_half4(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> y, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> z);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>int rsGetElementAt_int(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x);
|
<td>int rsGetElementAt_int(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x);
|
||||||
</td>
|
</td>
|
||||||
@@ -2396,6 +2468,78 @@ use the float2 variant.
|
|||||||
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 18</a>
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 18</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>void rsSetElementAt_half(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:half'>half</a> val, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>void rsSetElementAt_half(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:half'>half</a> val, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> y);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>void rsSetElementAt_half(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:half'>half</a> val, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> y, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> z);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>void rsSetElementAt_half2(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:half2'>half2</a> val, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>void rsSetElementAt_half2(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:half2'>half2</a> val, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> y);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>void rsSetElementAt_half2(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:half2'>half2</a> val, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> y, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> z);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>void rsSetElementAt_half3(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:half3'>half3</a> val, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>void rsSetElementAt_half3(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:half3'>half3</a> val, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> y);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>void rsSetElementAt_half3(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:half3'>half3</a> val, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> y, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> z);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>void rsSetElementAt_half4(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:half4'>half4</a> val, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>void rsSetElementAt_half4(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:half4'>half4</a> val, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> y);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>void rsSetElementAt_half4(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:half4'>half4</a> val, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> y, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> z);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>void rsSetElementAt_int(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, int val, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x);
|
<td>void rsSetElementAt_int(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> a, int val, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> x);
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -1765,9 +1765,14 @@ Use <a href='rs_math.html#android_rs:clamp'>clamp</a>() to avoid this.
|
|||||||
</tbody></table>
|
</tbody></table>
|
||||||
</div>
|
</div>
|
||||||
<div class='jd-tagdata jd-tagdescr'>
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
<p> Packs three or four floating point RGBA values into a uchar4. The RGBA values should be
|
<p> Packs three or four floating point RGBA values into a uchar4.
|
||||||
between 0.0 and 1.0 inclusive. Values outside of this range are clamped to this range.
|
</p>
|
||||||
However numbers greater than INT_MAX or less than INT_MIN can result in undefined behavior.
|
|
||||||
|
<p> The input values are typically between 0.0f and 1.0f inclusive. For input values outside
|
||||||
|
of this range, the resulting outputs will be clamped to be between 0 and 255. As this
|
||||||
|
clamping may be done after the input is multiplied by 255.f and converted to an integer,
|
||||||
|
input numbers greater than INT_MAX/255.f or less than INT_MIN/255.f result in
|
||||||
|
undefined behavior.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p> If the alpha component is not specified, it is assumed to be 1.0, i.e. the result will
|
<p> If the alpha component is not specified, it is assumed to be 1.0, i.e. the result will
|
||||||
|
|||||||
@@ -77,6 +77,24 @@ They should not be used in shipping applications.
|
|||||||
</td>
|
</td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:double2'>double2</a> a);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:double3'>double3</a> a);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:double4'>double4</a> a);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>void rsDebug(const char* message, float a);
|
<td>void rsDebug(const char* message, float a);
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -6,6 +6,11 @@ page.title=RenderScript Kernel Invocation Functions and Types
|
|||||||
<h2>Overview</h2>
|
<h2>Overview</h2>
|
||||||
<p> The <a href='rs_for_each.html#android_rs:rsForEach'>rsForEach</a>() function can be used to invoke the root kernel of a script.
|
<p> The <a href='rs_for_each.html#android_rs:rsForEach'>rsForEach</a>() function can be used to invoke the root kernel of a script.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p> The other functions are used to get the characteristics of the invocation of
|
||||||
|
an executing kernel, like dimensions and current indices. These functions take
|
||||||
|
a <a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a> as argument.
|
||||||
|
</p>
|
||||||
<h2>Summary</h2>
|
<h2>Summary</h2>
|
||||||
<table class='jd-sumtable'><tbody>
|
<table class='jd-sumtable'><tbody>
|
||||||
<tr><th colspan='2'>Types</th></tr>
|
<tr><th colspan='2'>Types</th></tr>
|
||||||
@@ -17,6 +22,14 @@ page.title=RenderScript Kernel Invocation Functions and Types
|
|||||||
Suggested cell processing order
|
Suggested cell processing order
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Handle to a kernel invocation context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr class='alt-color api apilevel-1'>
|
<tr class='alt-color api apilevel-1'>
|
||||||
<td class='jd-linkcol'>
|
<td class='jd-linkcol'>
|
||||||
<a href='rs_for_each.html#android_rs:rs_script_call_t'>rs_script_call_t</a>
|
<a href='rs_for_each.html#android_rs:rs_script_call_t'>rs_script_call_t</a>
|
||||||
@@ -36,6 +49,126 @@ page.title=RenderScript Kernel Invocation Functions and Types
|
|||||||
Invoke the root kernel of a script
|
Invoke the root kernel of a script
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetArray0'>rsGetArray0</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Index in the Array0 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetArray1'>rsGetArray1</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Index in the Array1 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetArray2'>rsGetArray2</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Index in the Array2 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetArray3'>rsGetArray3</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Index in the Array3 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimArray0'>rsGetDimArray0</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the Array0 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimArray1'>rsGetDimArray1</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the Array1 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimArray2'>rsGetDimArray2</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the Array2 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimArray3'>rsGetDimArray3</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the Array3 dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimHasFaces'>rsGetDimHasFaces</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Presence of more than one face for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimLod'>rsGetDimLod</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Number of levels of detail for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimX'>rsGetDimX</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the X dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimY'>rsGetDimY</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the Y dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetDimZ'>rsGetDimZ</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Size of the Z dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetFace'>rsGetFace</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Coordinate of the Face for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_for_each.html#android_rs:rsGetLod'>rsGetLod</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Index in the Levels of Detail dimension for the specified kernel context
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
<h2>Types</h2>
|
<h2>Types</h2>
|
||||||
<a name='android_rs:rs_for_each_strategy_t'></a>
|
<a name='android_rs:rs_for_each_strategy_t'></a>
|
||||||
@@ -65,6 +198,26 @@ locality when the processing is distributed over multiple cores.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:rs_kernel_context'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>rs_kernel_context</span>
|
||||||
|
<span class='normal'>: Handle to a kernel invocation context</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<p>A typedef of: const struct rs_kernel_context_t * Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</p>
|
||||||
|
<p> The kernel context contains common characteristics of the allocations being iterated
|
||||||
|
over, like dimensions. It also contains rarely used indices of the currently processed
|
||||||
|
cell, like the Array0 index or the current level of detail.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> You can access the kernel context by adding a special parameter named "context" of type
|
||||||
|
rs_kernel_context to your kernel function. See <a href='rs_for_each.html#android_rs:rsGetDimX'>rsGetDimX</a>() and <a href='rs_for_each.html#android_rs:rsGetArray0'>rsGetArray0</a>() for examples.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<a name='android_rs:rs_script_call_t'></a>
|
<a name='android_rs:rs_script_call_t'></a>
|
||||||
<div class='jd-details'>
|
<div class='jd-details'>
|
||||||
<h4 class='jd-details-title'>
|
<h4 class='jd-details-title'>
|
||||||
@@ -120,13 +273,13 @@ over cells 4, 5, 6, and 7 in the X dimension, set xStart to 4 and xEnd to 8.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsForEach(<a href='rs_object_types.html#android_rs:rs_script'>rs_script</a> script, <a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> input, <a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> output, const void* usrData);
|
<td>void rsForEach(<a href='rs_object_types.html#android_rs:rs_script'>rs_script</a> script, <a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> input, <a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> output, const void* usrData);
|
||||||
</td>
|
</td>
|
||||||
<td> Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14</a>
|
<td> Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>void rsForEach(<a href='rs_object_types.html#android_rs:rs_script'>rs_script</a> script, <a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> input, <a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> output, const void* usrData, const <a href='rs_for_each.html#android_rs:rs_script_call_t'>rs_script_call_t</a>* sc);
|
<td>void rsForEach(<a href='rs_object_types.html#android_rs:rs_script'>rs_script</a> script, <a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> input, <a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> output, const void* usrData, const <a href='rs_for_each.html#android_rs:rs_script_call_t'>rs_script_call_t</a>* sc);
|
||||||
</td>
|
</td>
|
||||||
<td> Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14</a>
|
<td> Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -180,4 +333,437 @@ void specializedProcessing(rs_allocation in) {<br/>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:rsGetArray0'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>rsGetArray0</span>
|
||||||
|
<span class='normal'>: Index in the Array0 dimension for the specified kernel context</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<table class='jd-tagtable'><tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> rsGetArray0(<a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a> context);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody></table>
|
||||||
|
</div>
|
||||||
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
|
<p> Returns the index in the Array0 dimension of the cell being processed, as specified
|
||||||
|
by the supplied kernel context.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> The kernel context contains common characteristics of the allocations being iterated
|
||||||
|
over and rarely used indices, like the Array0 index.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> You can access the kernel context by adding a special parameter named "context" of
|
||||||
|
type rs_kernel_context to your kernel function. E.g.<br/>
|
||||||
|
<code>short RS_KERNEL myKernel(short value, uint32_t x, rs_kernel_context context) {<br/>
|
||||||
|
// The current index in the common x, y, z dimensions are accessed by<br/>
|
||||||
|
// adding these variables as arguments. For the more rarely used indices<br/>
|
||||||
|
// to the other dimensions, extract them from the kernel context:<br/>
|
||||||
|
uint32_t index_a0 = rsGetArray0(context);<br/>
|
||||||
|
//...<br/>
|
||||||
|
}<br/></code>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> This function returns 0 if the Array0 dimension is not present.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:rsGetArray1'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>rsGetArray1</span>
|
||||||
|
<span class='normal'>: Index in the Array1 dimension for the specified kernel context</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<table class='jd-tagtable'><tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> rsGetArray1(<a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a> context);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody></table>
|
||||||
|
</div>
|
||||||
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
|
<p> Returns the index in the Array1 dimension of the cell being processed, as specified
|
||||||
|
by the supplied kernel context. See <a href='rs_for_each.html#android_rs:rsGetArray0'>rsGetArray0</a>() for an explanation of the context.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> Returns 0 if the Array1 dimension is not present.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:rsGetArray2'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>rsGetArray2</span>
|
||||||
|
<span class='normal'>: Index in the Array2 dimension for the specified kernel context</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<table class='jd-tagtable'><tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> rsGetArray2(<a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a> context);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody></table>
|
||||||
|
</div>
|
||||||
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
|
<p> Returns the index in the Array2 dimension of the cell being processed,
|
||||||
|
as specified by the supplied kernel context. See <a href='rs_for_each.html#android_rs:rsGetArray0'>rsGetArray0</a>() for an explanation
|
||||||
|
of the context.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> Returns 0 if the Array2 dimension is not present.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:rsGetArray3'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>rsGetArray3</span>
|
||||||
|
<span class='normal'>: Index in the Array3 dimension for the specified kernel context</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<table class='jd-tagtable'><tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> rsGetArray3(<a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a> context);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody></table>
|
||||||
|
</div>
|
||||||
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
|
<p> Returns the index in the Array3 dimension of the cell being processed, as specified
|
||||||
|
by the supplied kernel context. See <a href='rs_for_each.html#android_rs:rsGetArray0'>rsGetArray0</a>() for an explanation of the context.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> Returns 0 if the Array3 dimension is not present.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:rsGetDimArray0'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>rsGetDimArray0</span>
|
||||||
|
<span class='normal'>: Size of the Array0 dimension for the specified kernel context</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<table class='jd-tagtable'><tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> rsGetDimArray0(<a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a> context);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody></table>
|
||||||
|
</div>
|
||||||
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
|
<p> Returns the size of the Array0 dimension for the specified kernel context.
|
||||||
|
See <a href='rs_for_each.html#android_rs:rsGetDimX'>rsGetDimX</a>() for an explanation of the context.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> Returns 0 if the Array0 dimension is not present.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:rsGetDimArray1'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>rsGetDimArray1</span>
|
||||||
|
<span class='normal'>: Size of the Array1 dimension for the specified kernel context</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<table class='jd-tagtable'><tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> rsGetDimArray1(<a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a> context);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody></table>
|
||||||
|
</div>
|
||||||
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
|
<p> Returns the size of the Array1 dimension for the specified kernel context.
|
||||||
|
See <a href='rs_for_each.html#android_rs:rsGetDimX'>rsGetDimX</a>() for an explanation of the context.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> Returns 0 if the Array1 dimension is not present.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:rsGetDimArray2'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>rsGetDimArray2</span>
|
||||||
|
<span class='normal'>: Size of the Array2 dimension for the specified kernel context</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<table class='jd-tagtable'><tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> rsGetDimArray2(<a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a> context);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody></table>
|
||||||
|
</div>
|
||||||
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
|
<p> Returns the size of the Array2 dimension for the specified kernel context.
|
||||||
|
See <a href='rs_for_each.html#android_rs:rsGetDimX'>rsGetDimX</a>() for an explanation of the context.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> Returns 0 if the Array2 dimension is not present.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:rsGetDimArray3'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>rsGetDimArray3</span>
|
||||||
|
<span class='normal'>: Size of the Array3 dimension for the specified kernel context</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<table class='jd-tagtable'><tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> rsGetDimArray3(<a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a> context);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody></table>
|
||||||
|
</div>
|
||||||
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
|
<p> Returns the size of the Array3 dimension for the specified kernel context.
|
||||||
|
See <a href='rs_for_each.html#android_rs:rsGetDimX'>rsGetDimX</a>() for an explanation of the context.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> Returns 0 if the Array3 dimension is not present.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:rsGetDimHasFaces'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>rsGetDimHasFaces</span>
|
||||||
|
<span class='normal'>: Presence of more than one face for the specified kernel context</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<table class='jd-tagtable'><tbody>
|
||||||
|
<tr>
|
||||||
|
<td>bool rsGetDimHasFaces(<a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a> context);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody></table>
|
||||||
|
</div>
|
||||||
|
<div class='jd-tagdata'> <h5 class='jd-tagtitle'>Returns</h5>
|
||||||
|
<table class='jd-tagtable'><tbody>
|
||||||
|
<tr><td>Returns true if more than one face is present, false otherwise.</td></tr>
|
||||||
|
</tbody></table>
|
||||||
|
</div>
|
||||||
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
|
<p> If the kernel is iterating over a cubemap, this function returns true if there's more
|
||||||
|
than one face present. In all other cases, it returns false. See <a href='rs_for_each.html#android_rs:rsGetDimX'>rsGetDimX</a>() for an
|
||||||
|
explanation of the context.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> <a href='rs_object_info.html#android_rs:rsAllocationGetDimFaces'>rsAllocationGetDimFaces</a>() is similar but returns 0 or 1 instead of a bool.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:rsGetDimLod'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>rsGetDimLod</span>
|
||||||
|
<span class='normal'>: Number of levels of detail for the specified kernel context</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<table class='jd-tagtable'><tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> rsGetDimLod(<a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a> context);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody></table>
|
||||||
|
</div>
|
||||||
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
|
<p> Returns the number of levels of detail for the specified kernel context. This is useful
|
||||||
|
for mipmaps. See <a href='rs_for_each.html#android_rs:rsGetDimX'>rsGetDimX</a>() for an explanation of the context.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> Returns 0 if Level of Detail is not used.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> <a href='rs_object_info.html#android_rs:rsAllocationGetDimLOD'>rsAllocationGetDimLOD</a>() is similar but returns 0 or 1 instead the actual
|
||||||
|
number of levels.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:rsGetDimX'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>rsGetDimX</span>
|
||||||
|
<span class='normal'>: Size of the X dimension for the specified kernel context</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<table class='jd-tagtable'><tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> rsGetDimX(<a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a> context);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody></table>
|
||||||
|
</div>
|
||||||
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
|
<p> Returns the size of the X dimension for the specified kernel context.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> The kernel context contains common characteristics of the allocations being iterated
|
||||||
|
over and rarely used indices, like the Array0 index.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> You can access it by adding a special parameter named "context" of
|
||||||
|
type rs_kernel_context to your kernel function. E.g.<br/>
|
||||||
|
<code>int4 RS_KERNEL myKernel(int4 value, rs_kernel_context context) {<br/>
|
||||||
|
uint32_t size = rsGetDimX(context); //...<br/></code>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> To get the dimension of specific allocation, use <a href='rs_object_info.html#android_rs:rsAllocationGetDimX'>rsAllocationGetDimX</a>().
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:rsGetDimY'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>rsGetDimY</span>
|
||||||
|
<span class='normal'>: Size of the Y dimension for the specified kernel context</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<table class='jd-tagtable'><tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> rsGetDimY(<a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a> context);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody></table>
|
||||||
|
</div>
|
||||||
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
|
<p> Returns the size of the X dimension for the specified kernel context.
|
||||||
|
See <a href='rs_for_each.html#android_rs:rsGetDimX'>rsGetDimX</a>() for an explanation of the context.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> Returns 0 if the Y dimension is not present.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> To get the dimension of specific allocation, use <a href='rs_object_info.html#android_rs:rsAllocationGetDimY'>rsAllocationGetDimY</a>().
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:rsGetDimZ'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>rsGetDimZ</span>
|
||||||
|
<span class='normal'>: Size of the Z dimension for the specified kernel context</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<table class='jd-tagtable'><tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> rsGetDimZ(<a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a> context);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody></table>
|
||||||
|
</div>
|
||||||
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
|
<p> Returns the size of the Z dimension for the specified kernel context.
|
||||||
|
See <a href='rs_for_each.html#android_rs:rsGetDimX'>rsGetDimX</a>() for an explanation of the context.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> Returns 0 if the Z dimension is not present.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> To get the dimension of specific allocation, use <a href='rs_object_info.html#android_rs:rsAllocationGetDimZ'>rsAllocationGetDimZ</a>().
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:rsGetFace'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>rsGetFace</span>
|
||||||
|
<span class='normal'>: Coordinate of the Face for the specified kernel context</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<table class='jd-tagtable'><tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_object_types.html#android_rs:rs_allocation_cubemap_face'>rs_allocation_cubemap_face</a> rsGetFace(<a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a> context);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody></table>
|
||||||
|
</div>
|
||||||
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
|
<p> Returns the face on which the cell being processed is found, as specified by the
|
||||||
|
supplied kernel context. See <a href='rs_for_each.html#android_rs:rsGetArray0'>rsGetArray0</a>() for an explanation of the context.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> Returns RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X if the face dimension is not
|
||||||
|
present.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:rsGetLod'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>rsGetLod</span>
|
||||||
|
<span class='normal'>: Index in the Levels of Detail dimension for the specified kernel context</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<table class='jd-tagtable'><tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> rsGetLod(<a href='rs_for_each.html#android_rs:rs_kernel_context'>rs_kernel_context</a> context);
|
||||||
|
</td>
|
||||||
|
<td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody></table>
|
||||||
|
</div>
|
||||||
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
|
<p> Returns the index in the Levels of Detail dimension of the cell being processed,
|
||||||
|
as specified by the supplied kernel context. See <a href='rs_for_each.html#android_rs:rsGetArray0'>rsGetArray0</a>() for an explanation of
|
||||||
|
the context.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> Returns 0 if the Levels of Detail dimension is not present.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ page.title=RenderScript Graphics Functions and Types
|
|||||||
|
|
||||||
<div class='renderscript'>
|
<div class='renderscript'>
|
||||||
<h2>Overview</h2>
|
<h2>Overview</h2>
|
||||||
<p> The graphics subsystem of RenderScript has been deprecated.
|
<p> The graphics subsystem of RenderScript was removed at API level 23.
|
||||||
</p>
|
</p>
|
||||||
<h2>Summary</h2>
|
<h2>Summary</h2>
|
||||||
<table class='jd-sumtable'><tbody>
|
<table class='jd-sumtable'><tbody>
|
||||||
@@ -502,7 +502,7 @@ page.title=RenderScript Graphics Functions and Types
|
|||||||
</h4>
|
</h4>
|
||||||
<div class='jd-details-descr'>
|
<div class='jd-details-descr'>
|
||||||
<p>An enum with the following values:
|
<p>An enum with the following values:
|
||||||
When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</p>
|
</p>
|
||||||
<table class='jd-tagtable'><tbody>
|
<table class='jd-tagtable'><tbody>
|
||||||
<tr><th>RS_BLEND_DST_ZERO = 0</th><td></td></tr>
|
<tr><th>RS_BLEND_DST_ZERO = 0</th><td></td></tr>
|
||||||
@@ -527,7 +527,7 @@ page.title=RenderScript Graphics Functions and Types
|
|||||||
</h4>
|
</h4>
|
||||||
<div class='jd-details-descr'>
|
<div class='jd-details-descr'>
|
||||||
<p>An enum with the following values:
|
<p>An enum with the following values:
|
||||||
When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</p>
|
</p>
|
||||||
<table class='jd-tagtable'><tbody>
|
<table class='jd-tagtable'><tbody>
|
||||||
<tr><th>RS_BLEND_SRC_ZERO = 0</th><td></td></tr>
|
<tr><th>RS_BLEND_SRC_ZERO = 0</th><td></td></tr>
|
||||||
@@ -553,7 +553,7 @@ page.title=RenderScript Graphics Functions and Types
|
|||||||
</h4>
|
</h4>
|
||||||
<div class='jd-details-descr'>
|
<div class='jd-details-descr'>
|
||||||
<p>An enum with the following values:
|
<p>An enum with the following values:
|
||||||
When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</p>
|
</p>
|
||||||
<table class='jd-tagtable'><tbody>
|
<table class='jd-tagtable'><tbody>
|
||||||
<tr><th>RS_CULL_BACK = 0</th><td></td></tr>
|
<tr><th>RS_CULL_BACK = 0</th><td></td></tr>
|
||||||
@@ -573,7 +573,7 @@ page.title=RenderScript Graphics Functions and Types
|
|||||||
</h4>
|
</h4>
|
||||||
<div class='jd-details-descr'>
|
<div class='jd-details-descr'>
|
||||||
<p>An enum with the following values:
|
<p>An enum with the following values:
|
||||||
When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</p>
|
</p>
|
||||||
<table class='jd-tagtable'><tbody>
|
<table class='jd-tagtable'><tbody>
|
||||||
<tr><th>RS_DEPTH_FUNC_ALWAYS = 0</th><td>Always drawn</td></tr>
|
<tr><th>RS_DEPTH_FUNC_ALWAYS = 0</th><td>Always drawn</td></tr>
|
||||||
@@ -599,7 +599,11 @@ depth to that found in the depth buffer.
|
|||||||
<span class='normal'>: Handle to a Font</span>
|
<span class='normal'>: Handle to a Font</span>
|
||||||
</h4>
|
</h4>
|
||||||
<div class='jd-details-descr'>
|
<div class='jd-details-descr'>
|
||||||
<p>A typedef of: _RS_HANDLE When compiling for 32 bits.
|
<p>A typedef of: _RS_HANDLE __attribute__((
|
||||||
|
#if (defined(RS_VERSION) && (RS_VERSION >= 1))
|
||||||
|
deprecated
|
||||||
|
#endif
|
||||||
|
)) When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</p>
|
</p>
|
||||||
<p><b>Deprecated.</b> Do not use.</p>
|
<p><b>Deprecated.</b> Do not use.</p>
|
||||||
<p> Opaque handle to a RenderScript font object.
|
<p> Opaque handle to a RenderScript font object.
|
||||||
@@ -615,7 +619,11 @@ See: android.renderscript.Font
|
|||||||
<span class='normal'>: Handle to a Mesh</span>
|
<span class='normal'>: Handle to a Mesh</span>
|
||||||
</h4>
|
</h4>
|
||||||
<div class='jd-details-descr'>
|
<div class='jd-details-descr'>
|
||||||
<p>A typedef of: _RS_HANDLE When compiling for 32 bits.
|
<p>A typedef of: _RS_HANDLE __attribute__((
|
||||||
|
#if (defined(RS_VERSION) && (RS_VERSION >= 1))
|
||||||
|
deprecated
|
||||||
|
#endif
|
||||||
|
)) When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</p>
|
</p>
|
||||||
<p><b>Deprecated.</b> Do not use.</p>
|
<p><b>Deprecated.</b> Do not use.</p>
|
||||||
<p> Opaque handle to a RenderScript mesh object.
|
<p> Opaque handle to a RenderScript mesh object.
|
||||||
@@ -632,7 +640,7 @@ See: android.renderscript.Mesh
|
|||||||
</h4>
|
</h4>
|
||||||
<div class='jd-details-descr'>
|
<div class='jd-details-descr'>
|
||||||
<p>An enum with the following values:
|
<p>An enum with the following values:
|
||||||
When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</p>
|
</p>
|
||||||
<table class='jd-tagtable'><tbody>
|
<table class='jd-tagtable'><tbody>
|
||||||
<tr><th>RS_PRIMITIVE_POINT = 0</th><td>Vertex data will be rendered as a series of points</td></tr>
|
<tr><th>RS_PRIMITIVE_POINT = 0</th><td>Vertex data will be rendered as a series of points</td></tr>
|
||||||
@@ -656,7 +664,11 @@ See: android.renderscript.Mesh
|
|||||||
<span class='normal'>: Handle to a ProgramFragment</span>
|
<span class='normal'>: Handle to a ProgramFragment</span>
|
||||||
</h4>
|
</h4>
|
||||||
<div class='jd-details-descr'>
|
<div class='jd-details-descr'>
|
||||||
<p>A typedef of: _RS_HANDLE When compiling for 32 bits.
|
<p>A typedef of: _RS_HANDLE __attribute__((
|
||||||
|
#if (defined(RS_VERSION) && (RS_VERSION >= 1))
|
||||||
|
deprecated
|
||||||
|
#endif
|
||||||
|
)) When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</p>
|
</p>
|
||||||
<p><b>Deprecated.</b> Do not use.</p>
|
<p><b>Deprecated.</b> Do not use.</p>
|
||||||
<p> Opaque handle to a RenderScript ProgramFragment object.
|
<p> Opaque handle to a RenderScript ProgramFragment object.
|
||||||
@@ -672,7 +684,11 @@ See: android.renderscript.ProgramFragment
|
|||||||
<span class='normal'>: Handle to a ProgramRaster</span>
|
<span class='normal'>: Handle to a ProgramRaster</span>
|
||||||
</h4>
|
</h4>
|
||||||
<div class='jd-details-descr'>
|
<div class='jd-details-descr'>
|
||||||
<p>A typedef of: _RS_HANDLE When compiling for 32 bits.
|
<p>A typedef of: _RS_HANDLE __attribute__((
|
||||||
|
#if (defined(RS_VERSION) && (RS_VERSION >= 1))
|
||||||
|
deprecated
|
||||||
|
#endif
|
||||||
|
)) When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</p>
|
</p>
|
||||||
<p><b>Deprecated.</b> Do not use.</p>
|
<p><b>Deprecated.</b> Do not use.</p>
|
||||||
<p> Opaque handle to a RenderScript ProgramRaster object.
|
<p> Opaque handle to a RenderScript ProgramRaster object.
|
||||||
@@ -688,7 +704,11 @@ See: android.renderscript.ProgramRaster
|
|||||||
<span class='normal'>: Handle to a ProgramStore</span>
|
<span class='normal'>: Handle to a ProgramStore</span>
|
||||||
</h4>
|
</h4>
|
||||||
<div class='jd-details-descr'>
|
<div class='jd-details-descr'>
|
||||||
<p>A typedef of: _RS_HANDLE When compiling for 32 bits.
|
<p>A typedef of: _RS_HANDLE __attribute__((
|
||||||
|
#if (defined(RS_VERSION) && (RS_VERSION >= 1))
|
||||||
|
deprecated
|
||||||
|
#endif
|
||||||
|
)) When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</p>
|
</p>
|
||||||
<p><b>Deprecated.</b> Do not use.</p>
|
<p><b>Deprecated.</b> Do not use.</p>
|
||||||
<p> Opaque handle to a RenderScript ProgramStore object.
|
<p> Opaque handle to a RenderScript ProgramStore object.
|
||||||
@@ -704,7 +724,11 @@ See: android.renderscript.ProgramStore
|
|||||||
<span class='normal'>: Handle to a ProgramVertex</span>
|
<span class='normal'>: Handle to a ProgramVertex</span>
|
||||||
</h4>
|
</h4>
|
||||||
<div class='jd-details-descr'>
|
<div class='jd-details-descr'>
|
||||||
<p>A typedef of: _RS_HANDLE When compiling for 32 bits.
|
<p>A typedef of: _RS_HANDLE __attribute__((
|
||||||
|
#if (defined(RS_VERSION) && (RS_VERSION >= 1))
|
||||||
|
deprecated
|
||||||
|
#endif
|
||||||
|
)) When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</p>
|
</p>
|
||||||
<p><b>Deprecated.</b> Do not use.</p>
|
<p><b>Deprecated.</b> Do not use.</p>
|
||||||
<p> Opaque handle to a RenderScript ProgramVertex object.
|
<p> Opaque handle to a RenderScript ProgramVertex object.
|
||||||
@@ -725,13 +749,13 @@ See: android.renderscript.ProgramVertex
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgAllocationSyncAll(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> alloc);
|
<td>void rsgAllocationSyncAll(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> alloc);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>void rsgAllocationSyncAll(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> alloc, <a href='rs_object_types.html#android_rs:rs_allocation_usage_type'>rs_allocation_usage_type</a> source);
|
<td>void rsgAllocationSyncAll(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> alloc, <a href='rs_object_types.html#android_rs:rs_allocation_usage_type'>rs_allocation_usage_type</a> source);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -761,7 +785,7 @@ memory spaces.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgBindColorTarget(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> colorTarget, <a href='rs_value_types.html#android_rs:uint'>uint</a> slot);
|
<td>void rsgBindColorTarget(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> colorTarget, <a href='rs_value_types.html#android_rs:uint'>uint</a> slot);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -784,13 +808,13 @@ memory spaces.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgBindConstant(<a href='rs_graphics.html#android_rs:rs_program_fragment'>rs_program_fragment</a> ps, <a href='rs_value_types.html#android_rs:uint'>uint</a> slot, <a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> c);
|
<td>void rsgBindConstant(<a href='rs_graphics.html#android_rs:rs_program_fragment'>rs_program_fragment</a> ps, <a href='rs_value_types.html#android_rs:uint'>uint</a> slot, <a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> c);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>void rsgBindConstant(<a href='rs_graphics.html#android_rs:rs_program_vertex'>rs_program_vertex</a> pv, <a href='rs_value_types.html#android_rs:uint'>uint</a> slot, <a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> c);
|
<td>void rsgBindConstant(<a href='rs_graphics.html#android_rs:rs_program_vertex'>rs_program_vertex</a> pv, <a href='rs_value_types.html#android_rs:uint'>uint</a> slot, <a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> c);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -822,7 +846,7 @@ The Allocation must be a valid constant input for the Program.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgBindDepthTarget(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> depthTarget);
|
<td>void rsgBindDepthTarget(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> depthTarget);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -845,7 +869,7 @@ The Allocation must be a valid constant input for the Program.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgBindFont(<a href='rs_graphics.html#android_rs:rs_font'>rs_font</a> font);
|
<td>void rsgBindFont(<a href='rs_graphics.html#android_rs:rs_font'>rs_font</a> font);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -873,7 +897,7 @@ The Allocation must be a valid constant input for the Program.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgBindProgramFragment(<a href='rs_graphics.html#android_rs:rs_program_fragment'>rs_program_fragment</a> pf);
|
<td>void rsgBindProgramFragment(<a href='rs_graphics.html#android_rs:rs_program_fragment'>rs_program_fragment</a> pf);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -896,7 +920,7 @@ The Allocation must be a valid constant input for the Program.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgBindProgramRaster(<a href='rs_graphics.html#android_rs:rs_program_raster'>rs_program_raster</a> pr);
|
<td>void rsgBindProgramRaster(<a href='rs_graphics.html#android_rs:rs_program_raster'>rs_program_raster</a> pr);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -919,7 +943,7 @@ The Allocation must be a valid constant input for the Program.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgBindProgramStore(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
<td>void rsgBindProgramStore(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -942,7 +966,7 @@ The Allocation must be a valid constant input for the Program.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgBindProgramVertex(<a href='rs_graphics.html#android_rs:rs_program_vertex'>rs_program_vertex</a> pv);
|
<td>void rsgBindProgramVertex(<a href='rs_graphics.html#android_rs:rs_program_vertex'>rs_program_vertex</a> pv);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -965,7 +989,7 @@ The Allocation must be a valid constant input for the Program.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgBindSampler(<a href='rs_graphics.html#android_rs:rs_program_fragment'>rs_program_fragment</a> fragment, <a href='rs_value_types.html#android_rs:uint'>uint</a> slot, <a href='rs_object_types.html#android_rs:rs_sampler'>rs_sampler</a> sampler);
|
<td>void rsgBindSampler(<a href='rs_graphics.html#android_rs:rs_program_fragment'>rs_program_fragment</a> fragment, <a href='rs_value_types.html#android_rs:uint'>uint</a> slot, <a href='rs_object_types.html#android_rs:rs_sampler'>rs_sampler</a> sampler);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -989,7 +1013,7 @@ operate on the texture bound at the matching slot.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgBindTexture(<a href='rs_graphics.html#android_rs:rs_program_fragment'>rs_program_fragment</a> v, <a href='rs_value_types.html#android_rs:uint'>uint</a> slot, <a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> alloc);
|
<td>void rsgBindTexture(<a href='rs_graphics.html#android_rs:rs_program_fragment'>rs_program_fragment</a> v, <a href='rs_value_types.html#android_rs:uint'>uint</a> slot, <a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> alloc);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1015,7 +1039,7 @@ matching slot.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgClearAllRenderTargets();
|
<td>void rsgClearAllRenderTargets();
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1039,7 +1063,7 @@ the framebuffer
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgClearColor(float r, float g, float b, float a);
|
<td>void rsgClearColor(float r, float g, float b, float a);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1062,7 +1086,7 @@ the framebuffer
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgClearColorTarget(<a href='rs_value_types.html#android_rs:uint'>uint</a> slot);
|
<td>void rsgClearColorTarget(<a href='rs_value_types.html#android_rs:uint'>uint</a> slot);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1085,7 +1109,7 @@ the framebuffer
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgClearDepth(float value);
|
<td>void rsgClearDepth(float value);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1108,7 +1132,7 @@ the framebuffer
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgClearDepthTarget();
|
<td>void rsgClearDepthTarget();
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1131,19 +1155,19 @@ the framebuffer
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgDrawMesh(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> ism);
|
<td>void rsgDrawMesh(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> ism);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>void rsgDrawMesh(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> ism, <a href='rs_value_types.html#android_rs:uint'>uint</a> primitiveIndex);
|
<td>void rsgDrawMesh(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> ism, <a href='rs_value_types.html#android_rs:uint'>uint</a> primitiveIndex);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>void rsgDrawMesh(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> ism, <a href='rs_value_types.html#android_rs:uint'>uint</a> primitiveIndex, <a href='rs_value_types.html#android_rs:uint'>uint</a> start, <a href='rs_value_types.html#android_rs:uint'>uint</a> len);
|
<td>void rsgDrawMesh(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> ism, <a href='rs_value_types.html#android_rs:uint'>uint</a> primitiveIndex, <a href='rs_value_types.html#android_rs:uint'>uint</a> start, <a href='rs_value_types.html#android_rs:uint'>uint</a> len);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1183,7 +1207,7 @@ the framebuffer
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgDrawQuad(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4);
|
<td>void rsgDrawQuad(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1207,7 +1231,7 @@ drawing large quantities of geometry.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgDrawQuadTexCoords(float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, float x4, float y4, float z4, float u4, float v4);
|
<td>void rsgDrawQuadTexCoords(float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, float x4, float y4, float z4, float u4, float v4);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1231,7 +1255,7 @@ for drawing large quantities of geometry.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgDrawRect(float x1, float y1, float x2, float y2, float z);
|
<td>void rsgDrawRect(float x1, float y1, float x2, float y2, float z);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1255,7 +1279,7 @@ intended for drawing large quantities of geometry.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgDrawSpriteScreenspace(float x, float y, float z, float w, float h);
|
<td>void rsgDrawSpriteScreenspace(float x, float y, float z, float w, float h);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1281,13 +1305,13 @@ for drawing in shipping applications.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgDrawText(const char* text, int x, int y);
|
<td>void rsgDrawText(const char* text, int x, int y);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>void rsgDrawText(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> alloc, int x, int y);
|
<td>void rsgDrawText(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> alloc, int x, int y);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1310,7 +1334,7 @@ for drawing in shipping applications.
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href='rs_value_types.html#android_rs:uint'>uint</a> rsgFinish();
|
<td><a href='rs_value_types.html#android_rs:uint'>uint</a> rsgFinish();
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1333,7 +1357,7 @@ for drawing in shipping applications.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgFontColor(float r, float g, float b, float a);
|
<td>void rsgFontColor(float r, float g, float b, float a);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1364,7 +1388,7 @@ for drawing in shipping applications.
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href='rs_value_types.html#android_rs:uint'>uint</a> rsgGetHeight();
|
<td><a href='rs_value_types.html#android_rs:uint'>uint</a> rsgGetHeight();
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1387,7 +1411,7 @@ for drawing in shipping applications.
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href='rs_value_types.html#android_rs:uint'>uint</a> rsgGetWidth();
|
<td><a href='rs_value_types.html#android_rs:uint'>uint</a> rsgGetWidth();
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1410,13 +1434,13 @@ for drawing in shipping applications.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgMeasureText(const char* text, int* left, int* right, int* top, int* bottom);
|
<td>void rsgMeasureText(const char* text, int* left, int* right, int* top, int* bottom);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>void rsgMeasureText(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> alloc, int* left, int* right, int* top, int* bottom);
|
<td>void rsgMeasureText(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> alloc, int* left, int* right, int* top, int* bottom);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1440,13 +1464,13 @@ Any of left, right, top, bottom could be NULL
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgMeshComputeBoundingBox(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> mesh, float* minX, float* minY, float* min, float* maxX, float* maxY, float* maxZ);
|
<td>void rsgMeshComputeBoundingBox(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> mesh, float* minX, float* minY, float* min, float* maxX, float* maxY, float* maxZ);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>void rsgMeshComputeBoundingBox(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> mesh, <a href='rs_value_types.html#android_rs:float3'>float3</a>* bBoxMin, <a href='rs_value_types.html#android_rs:float3'>float3</a>* bBoxMax);
|
<td>void rsgMeshComputeBoundingBox(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> mesh, <a href='rs_value_types.html#android_rs:float3'>float3</a>* bBoxMin, <a href='rs_value_types.html#android_rs:float3'>float3</a>* bBoxMax);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1469,7 +1493,7 @@ Any of left, right, top, bottom could be NULL
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> rsgMeshGetIndexAllocation(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> m, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> index);
|
<td><a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> rsgMeshGetIndexAllocation(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> m, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> index);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1504,7 +1528,7 @@ allocation if only the primitive is specified
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href='rs_graphics.html#android_rs:rs_primitive'>rs_primitive</a> rsgMeshGetPrimitive(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> m, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> index);
|
<td><a href='rs_graphics.html#android_rs:rs_primitive'>rs_primitive</a> rsgMeshGetPrimitive(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> m, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> index);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1539,7 +1563,7 @@ rendered
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> rsgMeshGetPrimitiveCount(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> m);
|
<td><a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> rsgMeshGetPrimitiveCount(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> m);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1573,7 +1597,7 @@ the number.
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> rsgMeshGetVertexAllocation(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> m, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> index);
|
<td><a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> rsgMeshGetVertexAllocation(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> m, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> index);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1608,7 +1632,7 @@ vertex data, e.g. positions, normals, texcoords
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> rsgMeshGetVertexAllocationCount(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> m);
|
<td><a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a> rsgMeshGetVertexAllocationCount(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> m);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1642,7 +1666,7 @@ vertex data
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgProgramFragmentConstantColor(<a href='rs_graphics.html#android_rs:rs_program_fragment'>rs_program_fragment</a> pf, float r, float g, float b, float a);
|
<td>void rsgProgramFragmentConstantColor(<a href='rs_graphics.html#android_rs:rs_program_fragment'>rs_program_fragment</a> pf, float r, float g, float b, float a);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1665,7 +1689,7 @@ vertex data
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href='rs_graphics.html#android_rs:rs_cull_mode'>rs_cull_mode</a> rsgProgramRasterGetCullMode(<a href='rs_graphics.html#android_rs:rs_program_raster'>rs_program_raster</a> pr);
|
<td><a href='rs_graphics.html#android_rs:rs_cull_mode'>rs_cull_mode</a> rsgProgramRasterGetCullMode(<a href='rs_graphics.html#android_rs:rs_program_raster'>rs_program_raster</a> pr);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1693,7 +1717,7 @@ vertex data
|
|||||||
<tr>
|
<tr>
|
||||||
<td>bool rsgProgramRasterIsPointSpriteEnabled(<a href='rs_graphics.html#android_rs:rs_program_raster'>rs_program_raster</a> pr);
|
<td>bool rsgProgramRasterIsPointSpriteEnabled(<a href='rs_graphics.html#android_rs:rs_program_raster'>rs_program_raster</a> pr);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1721,7 +1745,7 @@ vertex data
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href='rs_graphics.html#android_rs:rs_blend_dst_func'>rs_blend_dst_func</a> rsgProgramStoreGetBlendDstFunc(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
<td><a href='rs_graphics.html#android_rs:rs_blend_dst_func'>rs_blend_dst_func</a> rsgProgramStoreGetBlendDstFunc(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1749,7 +1773,7 @@ vertex data
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href='rs_graphics.html#android_rs:rs_blend_src_func'>rs_blend_src_func</a> rsgProgramStoreGetBlendSrcFunc(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
<td><a href='rs_graphics.html#android_rs:rs_blend_src_func'>rs_blend_src_func</a> rsgProgramStoreGetBlendSrcFunc(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1777,7 +1801,7 @@ vertex data
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href='rs_graphics.html#android_rs:rs_depth_func'>rs_depth_func</a> rsgProgramStoreGetDepthFunc(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
<td><a href='rs_graphics.html#android_rs:rs_depth_func'>rs_depth_func</a> rsgProgramStoreGetDepthFunc(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1805,7 +1829,7 @@ vertex data
|
|||||||
<tr>
|
<tr>
|
||||||
<td>bool rsgProgramStoreIsColorMaskAlphaEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
<td>bool rsgProgramStoreIsColorMaskAlphaEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1833,7 +1857,7 @@ vertex data
|
|||||||
<tr>
|
<tr>
|
||||||
<td>bool rsgProgramStoreIsColorMaskBlueEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
<td>bool rsgProgramStoreIsColorMaskBlueEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1861,7 +1885,7 @@ vertex data
|
|||||||
<tr>
|
<tr>
|
||||||
<td>bool rsgProgramStoreIsColorMaskGreenEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
<td>bool rsgProgramStoreIsColorMaskGreenEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1889,7 +1913,7 @@ vertex data
|
|||||||
<tr>
|
<tr>
|
||||||
<td>bool rsgProgramStoreIsColorMaskRedEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
<td>bool rsgProgramStoreIsColorMaskRedEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1917,7 +1941,7 @@ vertex data
|
|||||||
<tr>
|
<tr>
|
||||||
<td>bool rsgProgramStoreIsDepthMaskEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
<td>bool rsgProgramStoreIsDepthMaskEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1945,7 +1969,7 @@ vertex data
|
|||||||
<tr>
|
<tr>
|
||||||
<td>bool rsgProgramStoreIsDitherEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
<td>bool rsgProgramStoreIsDitherEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits. Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16</a>
|
<td> When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -1973,7 +1997,7 @@ vertex data
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgProgramVertexGetProjectionMatrix(<a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* proj);
|
<td>void rsgProgramVertexGetProjectionMatrix(<a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* proj);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -2003,7 +2027,7 @@ would result in an error.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgProgramVertexLoadModelMatrix(const <a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* model);
|
<td>void rsgProgramVertexLoadModelMatrix(const <a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* model);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -2033,7 +2057,7 @@ would result in an error.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgProgramVertexLoadProjectionMatrix(const <a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* proj);
|
<td>void rsgProgramVertexLoadProjectionMatrix(const <a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* proj);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
@@ -2063,7 +2087,7 @@ would result in an error.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsgProgramVertexLoadTextureMatrix(const <a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* tex);
|
<td>void rsgProgramVertexLoadTextureMatrix(const <a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* tex);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
|
|||||||
@@ -752,7 +752,7 @@ a vector.
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href='rs_value_types.html#android_rs:float2'>float2</a> rsMatrixMultiply(<a href='rs_value_types.html#android_rs:rs_matrix2x2'>rs_matrix2x2</a>* m, <a href='rs_value_types.html#android_rs:float2'>float2</a> in);
|
<td><a href='rs_value_types.html#android_rs:float2'>float2</a> rsMatrixMultiply(<a href='rs_value_types.html#android_rs:rs_matrix2x2'>rs_matrix2x2</a>* m, <a href='rs_value_types.html#android_rs:float2'>float2</a> in);
|
||||||
</td>
|
</td>
|
||||||
<td> Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14</a>
|
<td> Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -770,13 +770,13 @@ a vector.
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href='rs_value_types.html#android_rs:float3'>float3</a> rsMatrixMultiply(<a href='rs_value_types.html#android_rs:rs_matrix3x3'>rs_matrix3x3</a>* m, <a href='rs_value_types.html#android_rs:float2'>float2</a> in);
|
<td><a href='rs_value_types.html#android_rs:float3'>float3</a> rsMatrixMultiply(<a href='rs_value_types.html#android_rs:rs_matrix3x3'>rs_matrix3x3</a>* m, <a href='rs_value_types.html#android_rs:float2'>float2</a> in);
|
||||||
</td>
|
</td>
|
||||||
<td> Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14</a>
|
<td> Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href='rs_value_types.html#android_rs:float3'>float3</a> rsMatrixMultiply(<a href='rs_value_types.html#android_rs:rs_matrix3x3'>rs_matrix3x3</a>* m, <a href='rs_value_types.html#android_rs:float3'>float3</a> in);
|
<td><a href='rs_value_types.html#android_rs:float3'>float3</a> rsMatrixMultiply(<a href='rs_value_types.html#android_rs:rs_matrix3x3'>rs_matrix3x3</a>* m, <a href='rs_value_types.html#android_rs:float3'>float3</a> in);
|
||||||
</td>
|
</td>
|
||||||
<td> Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14</a>
|
<td> Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -800,19 +800,19 @@ a vector.
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href='rs_value_types.html#android_rs:float4'>float4</a> rsMatrixMultiply(<a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* m, <a href='rs_value_types.html#android_rs:float2'>float2</a> in);
|
<td><a href='rs_value_types.html#android_rs:float4'>float4</a> rsMatrixMultiply(<a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* m, <a href='rs_value_types.html#android_rs:float2'>float2</a> in);
|
||||||
</td>
|
</td>
|
||||||
<td> Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14</a>
|
<td> Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href='rs_value_types.html#android_rs:float4'>float4</a> rsMatrixMultiply(<a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* m, <a href='rs_value_types.html#android_rs:float3'>float3</a> in);
|
<td><a href='rs_value_types.html#android_rs:float4'>float4</a> rsMatrixMultiply(<a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* m, <a href='rs_value_types.html#android_rs:float3'>float3</a> in);
|
||||||
</td>
|
</td>
|
||||||
<td> Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14</a>
|
<td> Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href='rs_value_types.html#android_rs:float4'>float4</a> rsMatrixMultiply(<a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* m, <a href='rs_value_types.html#android_rs:float4'>float4</a> in);
|
<td><a href='rs_value_types.html#android_rs:float4'>float4</a> rsMatrixMultiply(<a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* m, <a href='rs_value_types.html#android_rs:float4'>float4</a> in);
|
||||||
</td>
|
</td>
|
||||||
<td> Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14</a>
|
<td> Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 14 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -289,6 +289,9 @@ See <a href='http://developer.android.com/reference/android/renderscript/Sampler
|
|||||||
<div class='jd-tagdata jd-tagdescr'>
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
<p> If the Allocation is a cubemap, this function returns 1 if there's more than one face
|
<p> If the Allocation is a cubemap, this function returns 1 if there's more than one face
|
||||||
present. In all other cases, it returns 0.
|
present. In all other cases, it returns 0.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> Use <a href='rs_for_each.html#android_rs:rsGetDimHasFaces'>rsGetDimHasFaces</a>() to get the dimension of a currently running kernel.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -316,6 +319,9 @@ present. In all other cases, it returns 0.
|
|||||||
<div class='jd-tagdata jd-tagdescr'>
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
<p> Query an Allocation for the presence of more than one Level Of Detail. This is useful
|
<p> Query an Allocation for the presence of more than one Level Of Detail. This is useful
|
||||||
for mipmaps.
|
for mipmaps.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> Use <a href='rs_for_each.html#android_rs:rsGetDimLod'>rsGetDimLod</a>() to get the dimension of a currently running kernel.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -342,6 +348,9 @@ for mipmaps.
|
|||||||
</div>
|
</div>
|
||||||
<div class='jd-tagdata jd-tagdescr'>
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
<p> Returns the size of the X dimension of the Allocation.
|
<p> Returns the size of the X dimension of the Allocation.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> Use <a href='rs_for_each.html#android_rs:rsGetDimX'>rsGetDimX</a>() to get the dimension of a currently running kernel.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -369,6 +378,9 @@ for mipmaps.
|
|||||||
<div class='jd-tagdata jd-tagdescr'>
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
<p> Returns the size of the Y dimension of the Allocation. If the Allocation has less
|
<p> Returns the size of the Y dimension of the Allocation. If the Allocation has less
|
||||||
than two dimensions, returns 0.
|
than two dimensions, returns 0.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> Use <a href='rs_for_each.html#android_rs:rsGetDimY'>rsGetDimY</a>() to get the dimension of a currently running kernel.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -396,6 +408,9 @@ than two dimensions, returns 0.
|
|||||||
<div class='jd-tagdata jd-tagdescr'>
|
<div class='jd-tagdata jd-tagdescr'>
|
||||||
<p> Returns the size of the Z dimension of the Allocation. If the Allocation has less
|
<p> Returns the size of the Z dimension of the Allocation. If the Allocation has less
|
||||||
than three dimensions, returns 0.
|
than three dimensions, returns 0.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p> Use <a href='rs_for_each.html#android_rs:rsGetDimZ'>rsGetDimZ</a>() to get the dimension of a currently running kernel.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -453,37 +468,37 @@ of an Allocation. See the rsElement* functions below.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>void rsClearObject(<a href='rs_graphics.html#android_rs:rs_font'>rs_font</a>* dst);
|
<td>void rsClearObject(<a href='rs_graphics.html#android_rs:rs_font'>rs_font</a>* dst);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>void rsClearObject(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a>* dst);
|
<td>void rsClearObject(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a>* dst);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>void rsClearObject(<a href='rs_graphics.html#android_rs:rs_program_fragment'>rs_program_fragment</a>* dst);
|
<td>void rsClearObject(<a href='rs_graphics.html#android_rs:rs_program_fragment'>rs_program_fragment</a>* dst);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>void rsClearObject(<a href='rs_graphics.html#android_rs:rs_program_raster'>rs_program_raster</a>* dst);
|
<td>void rsClearObject(<a href='rs_graphics.html#android_rs:rs_program_raster'>rs_program_raster</a>* dst);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>void rsClearObject(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a>* dst);
|
<td>void rsClearObject(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a>* dst);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>void rsClearObject(<a href='rs_graphics.html#android_rs:rs_program_vertex'>rs_program_vertex</a>* dst);
|
<td>void rsClearObject(<a href='rs_graphics.html#android_rs:rs_program_vertex'>rs_program_vertex</a>* dst);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -885,37 +900,37 @@ allocation. The results are undefined if the pointer is not from a valid Alloca
|
|||||||
<tr>
|
<tr>
|
||||||
<td>bool rsIsObject(<a href='rs_graphics.html#android_rs:rs_font'>rs_font</a> v);
|
<td>bool rsIsObject(<a href='rs_graphics.html#android_rs:rs_font'>rs_font</a> v);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>bool rsIsObject(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> v);
|
<td>bool rsIsObject(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> v);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>bool rsIsObject(<a href='rs_graphics.html#android_rs:rs_program_fragment'>rs_program_fragment</a> v);
|
<td>bool rsIsObject(<a href='rs_graphics.html#android_rs:rs_program_fragment'>rs_program_fragment</a> v);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>bool rsIsObject(<a href='rs_graphics.html#android_rs:rs_program_raster'>rs_program_raster</a> v);
|
<td>bool rsIsObject(<a href='rs_graphics.html#android_rs:rs_program_raster'>rs_program_raster</a> v);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>bool rsIsObject(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> v);
|
<td>bool rsIsObject(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> v);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>bool rsIsObject(<a href='rs_graphics.html#android_rs:rs_program_vertex'>rs_program_vertex</a> v);
|
<td>bool rsIsObject(<a href='rs_graphics.html#android_rs:rs_program_vertex'>rs_program_vertex</a> v);
|
||||||
</td>
|
</td>
|
||||||
<td> When compiling for 32 bits.
|
<td> When compiling for 32 bits. Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23 and higher</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ page.title=RenderScript Numerical Types
|
|||||||
<tr><td> </td> <td>8 bits </td> <td>16 bits </td> <td>32 bits </td> <td>64 bits</td></tr>
|
<tr><td> </td> <td>8 bits </td> <td>16 bits </td> <td>32 bits </td> <td>64 bits</td></tr>
|
||||||
<tr><td>Integer: </td> <td>char, <a href='rs_value_types.html#android_rs:int8_t'>int8_t</a> </td> <td>short, <a href='rs_value_types.html#android_rs:int16_t'>int16_t</a> </td> <td><a href='rs_value_types.html#android_rs:int32_t'>int32_t</a> </td> <td>long, long long, <a href='rs_value_types.html#android_rs:int64_t'>int64_t</a></td></tr>
|
<tr><td>Integer: </td> <td>char, <a href='rs_value_types.html#android_rs:int8_t'>int8_t</a> </td> <td>short, <a href='rs_value_types.html#android_rs:int16_t'>int16_t</a> </td> <td><a href='rs_value_types.html#android_rs:int32_t'>int32_t</a> </td> <td>long, long long, <a href='rs_value_types.html#android_rs:int64_t'>int64_t</a></td></tr>
|
||||||
<tr><td>Unsigned integer:</td> <td>uchar, <a href='rs_value_types.html#android_rs:uint8_t'>uint8_t</a></td> <td>ushort, <a href='rs_value_types.html#android_rs:uint16_t'>uint16_t</a></td> <td>uint, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a></td> <td>ulong, <a href='rs_value_types.html#android_rs:uint64_t'>uint64_t</a></td></tr>
|
<tr><td>Unsigned integer:</td> <td>uchar, <a href='rs_value_types.html#android_rs:uint8_t'>uint8_t</a></td> <td>ushort, <a href='rs_value_types.html#android_rs:uint16_t'>uint16_t</a></td> <td>uint, <a href='rs_value_types.html#android_rs:uint32_t'>uint32_t</a></td> <td>ulong, <a href='rs_value_types.html#android_rs:uint64_t'>uint64_t</a></td></tr>
|
||||||
<tr><td>Floating point: </td> <td> </td> <td> </td> <td>float </td> <td>double</td></tr>
|
<tr><td>Floating point: </td> <td> </td> <td>half </td> <td>float </td> <td>double</td></tr>
|
||||||
</table>
|
</table>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@@ -161,6 +161,38 @@ of operations.
|
|||||||
Four 32 bit floats
|
Four 32 bit floats
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_value_types.html#android_rs:half'>half</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
16 bit floating point value
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_value_types.html#android_rs:half2'>half2</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Two 16 bit floats
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_value_types.html#android_rs:half3'>half3</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Three 16 bit floats
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class='alt-color api apilevel-1'>
|
||||||
|
<td class='jd-linkcol'>
|
||||||
|
<a href='rs_value_types.html#android_rs:half4'>half4</a>
|
||||||
|
</td>
|
||||||
|
<td class='jd-descrcol' width='100%'>
|
||||||
|
Four 16 bit floats
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr class='alt-color api apilevel-1'>
|
<tr class='alt-color api apilevel-1'>
|
||||||
<td class='jd-linkcol'>
|
<td class='jd-linkcol'>
|
||||||
<a href='rs_value_types.html#android_rs:int16_t'>int16_t</a>
|
<a href='rs_value_types.html#android_rs:int16_t'>int16_t</a>
|
||||||
@@ -605,6 +637,65 @@ with a 128 bit alignment.
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:half'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>half</span>
|
||||||
|
<span class='normal'>: 16 bit floating point value</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<p>A typedef of: __fp16 Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</p>
|
||||||
|
<p> A 16 bit floating point value.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:half2'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>half2</span>
|
||||||
|
<span class='normal'>: Two 16 bit floats</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<p>A typedef of: half __attribute__((ext_vector_type(2))) Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</p>
|
||||||
|
<p> Vector version of the half float type. Provides two half fields packed
|
||||||
|
into a single 32 bit field with 32 bit alignment.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:half3'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>half3</span>
|
||||||
|
<span class='normal'>: Three 16 bit floats</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<p>A typedef of: half __attribute__((ext_vector_type(3))) Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</p>
|
||||||
|
<p> Vector version of the half float type. Provides three half fields packed
|
||||||
|
into a single 64 bit field with 64 bit alignment.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a name='android_rs:half4'></a>
|
||||||
|
<div class='jd-details'>
|
||||||
|
<h4 class='jd-details-title'>
|
||||||
|
<span class='sympad'>half4</span>
|
||||||
|
<span class='normal'>: Four 16 bit floats</span>
|
||||||
|
</h4>
|
||||||
|
<div class='jd-details-descr'>
|
||||||
|
<p>A typedef of: half __attribute__((ext_vector_type(4))) Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a>
|
||||||
|
</p>
|
||||||
|
<p> Vector version of the half float type. Provides four half fields packed
|
||||||
|
into a single 64 bit field with 64 bit alignment.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<a name='android_rs:int16_t'></a>
|
<a name='android_rs:int16_t'></a>
|
||||||
<div class='jd-details'>
|
<div class='jd-details'>
|
||||||
<h4 class='jd-details-title'>
|
<h4 class='jd-details-title'>
|
||||||
@@ -680,7 +771,7 @@ with a 128 bit alignment.
|
|||||||
<span class='normal'>: 64 bit signed integer</span>
|
<span class='normal'>: 64 bit signed integer</span>
|
||||||
</h4>
|
</h4>
|
||||||
<div class='jd-details-descr'>
|
<div class='jd-details-descr'>
|
||||||
<p>A typedef of: long long Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
|
<p>A typedef of: long long Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21 and higher</a>
|
||||||
</p>
|
</p>
|
||||||
<p>A typedef of: long Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
|
<p>A typedef of: long Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
|
||||||
</p>
|
</p>
|
||||||
@@ -1037,7 +1128,7 @@ with a 128 bit alignment.
|
|||||||
<span class='normal'>: 64 bit unsigned integer</span>
|
<span class='normal'>: 64 bit unsigned integer</span>
|
||||||
</h4>
|
</h4>
|
||||||
<div class='jd-details-descr'>
|
<div class='jd-details-descr'>
|
||||||
<p>A typedef of: unsigned long long Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
|
<p>A typedef of: unsigned long long Removed from <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21 and higher</a>
|
||||||
</p>
|
</p>
|
||||||
<p>A typedef of: unsigned long Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
|
<p>A typedef of: unsigned long Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 21</a>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user