1 page.title=RenderScript Graphics Functions and Types 2 3 @jd:body 4 5 <div class='renderscript'> 6 <h2>Overview</h2> 7 <p> The graphics subsystem of RenderScript was removed at API level 23. 8 </p> 9 <h2>Summary</h2> 10 <table class='jd-sumtable'><tbody> 11 <tr><th colspan='2'>Deprecated Types</th></tr> 12 <tr class='alt-color api apilevel-1'> 13 <td class='jd-linkcol'> 14 <a href='rs_graphics.html#android_rs:rs_blend_dst_func'>rs_blend_dst_func</a> 15 </td> 16 <td class='jd-descrcol' width='100%'> 17 <b>Deprecated</b>. Blend destination function 18 </td> 19 </tr> 20 <tr class='alt-color api apilevel-1'> 21 <td class='jd-linkcol'> 22 <a href='rs_graphics.html#android_rs:rs_blend_src_func'>rs_blend_src_func</a> 23 </td> 24 <td class='jd-descrcol' width='100%'> 25 <b>Deprecated</b>. Blend source function 26 </td> 27 </tr> 28 <tr class='alt-color api apilevel-1'> 29 <td class='jd-linkcol'> 30 <a href='rs_graphics.html#android_rs:rs_cull_mode'>rs_cull_mode</a> 31 </td> 32 <td class='jd-descrcol' width='100%'> 33 <b>Deprecated</b>. Culling mode 34 </td> 35 </tr> 36 <tr class='alt-color api apilevel-1'> 37 <td class='jd-linkcol'> 38 <a href='rs_graphics.html#android_rs:rs_depth_func'>rs_depth_func</a> 39 </td> 40 <td class='jd-descrcol' width='100%'> 41 <b>Deprecated</b>. Depth function 42 </td> 43 </tr> 44 <tr class='alt-color api apilevel-1'> 45 <td class='jd-linkcol'> 46 <a href='rs_graphics.html#android_rs:rs_font'>rs_font</a> 47 </td> 48 <td class='jd-descrcol' width='100%'> 49 <b>Deprecated</b>. Handle to a Font 50 </td> 51 </tr> 52 <tr class='alt-color api apilevel-1'> 53 <td class='jd-linkcol'> 54 <a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> 55 </td> 56 <td class='jd-descrcol' width='100%'> 57 <b>Deprecated</b>. Handle to a Mesh 58 </td> 59 </tr> 60 <tr class='alt-color api apilevel-1'> 61 <td class='jd-linkcol'> 62 <a href='rs_graphics.html#android_rs:rs_primitive'>rs_primitive</a> 63 </td> 64 <td class='jd-descrcol' width='100%'> 65 <b>Deprecated</b>. How to intepret mesh vertex data 66 </td> 67 </tr> 68 <tr class='alt-color api apilevel-1'> 69 <td class='jd-linkcol'> 70 <a href='rs_graphics.html#android_rs:rs_program_fragment'>rs_program_fragment</a> 71 </td> 72 <td class='jd-descrcol' width='100%'> 73 <b>Deprecated</b>. Handle to a ProgramFragment 74 </td> 75 </tr> 76 <tr class='alt-color api apilevel-1'> 77 <td class='jd-linkcol'> 78 <a href='rs_graphics.html#android_rs:rs_program_raster'>rs_program_raster</a> 79 </td> 80 <td class='jd-descrcol' width='100%'> 81 <b>Deprecated</b>. Handle to a ProgramRaster 82 </td> 83 </tr> 84 <tr class='alt-color api apilevel-1'> 85 <td class='jd-linkcol'> 86 <a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> 87 </td> 88 <td class='jd-descrcol' width='100%'> 89 <b>Deprecated</b>. Handle to a ProgramStore 90 </td> 91 </tr> 92 <tr class='alt-color api apilevel-1'> 93 <td class='jd-linkcol'> 94 <a href='rs_graphics.html#android_rs:rs_program_vertex'>rs_program_vertex</a> 95 </td> 96 <td class='jd-descrcol' width='100%'> 97 <b>Deprecated</b>. Handle to a ProgramVertex 98 </td> 99 </tr> 100 </tbody></table> 101 <table class='jd-sumtable'><tbody> 102 <tr><th colspan='2'>Deprecated Functions</th></tr> 103 <tr class='alt-color api apilevel-1'> 104 <td class='jd-linkcol'> 105 <a href='rs_graphics.html#android_rs:rsgAllocationSyncAll'>rsgAllocationSyncAll</a> 106 </td> 107 <td class='jd-descrcol' width='100%'> 108 <b>Deprecated</b>. Sync the contents of an allocation 109 </td> 110 </tr> 111 <tr class='alt-color api apilevel-1'> 112 <td class='jd-linkcol'> 113 <a href='rs_graphics.html#android_rs:rsgBindColorTarget'>rsgBindColorTarget</a> 114 </td> 115 <td class='jd-descrcol' width='100%'> 116 <b>Deprecated</b>. Set the color target 117 </td> 118 </tr> 119 <tr class='alt-color api apilevel-1'> 120 <td class='jd-linkcol'> 121 <a href='rs_graphics.html#android_rs:rsgBindConstant'>rsgBindConstant</a> 122 </td> 123 <td class='jd-descrcol' width='100%'> 124 <b>Deprecated</b>. Bind a constant allocation 125 </td> 126 </tr> 127 <tr class='alt-color api apilevel-1'> 128 <td class='jd-linkcol'> 129 <a href='rs_graphics.html#android_rs:rsgBindDepthTarget'>rsgBindDepthTarget</a> 130 </td> 131 <td class='jd-descrcol' width='100%'> 132 <b>Deprecated</b>. Set the depth target 133 </td> 134 </tr> 135 <tr class='alt-color api apilevel-1'> 136 <td class='jd-linkcol'> 137 <a href='rs_graphics.html#android_rs:rsgBindFont'>rsgBindFont</a> 138 </td> 139 <td class='jd-descrcol' width='100%'> 140 <b>Deprecated</b>. Bind a font object 141 </td> 142 </tr> 143 <tr class='alt-color api apilevel-1'> 144 <td class='jd-linkcol'> 145 <a href='rs_graphics.html#android_rs:rsgBindProgramFragment'>rsgBindProgramFragment</a> 146 </td> 147 <td class='jd-descrcol' width='100%'> 148 <b>Deprecated</b>. Bind a ProgramFragment 149 </td> 150 </tr> 151 <tr class='alt-color api apilevel-1'> 152 <td class='jd-linkcol'> 153 <a href='rs_graphics.html#android_rs:rsgBindProgramRaster'>rsgBindProgramRaster</a> 154 </td> 155 <td class='jd-descrcol' width='100%'> 156 <b>Deprecated</b>. Bind a ProgramRaster 157 </td> 158 </tr> 159 <tr class='alt-color api apilevel-1'> 160 <td class='jd-linkcol'> 161 <a href='rs_graphics.html#android_rs:rsgBindProgramStore'>rsgBindProgramStore</a> 162 </td> 163 <td class='jd-descrcol' width='100%'> 164 <b>Deprecated</b>. Bind a ProgramStore 165 </td> 166 </tr> 167 <tr class='alt-color api apilevel-1'> 168 <td class='jd-linkcol'> 169 <a href='rs_graphics.html#android_rs:rsgBindProgramVertex'>rsgBindProgramVertex</a> 170 </td> 171 <td class='jd-descrcol' width='100%'> 172 <b>Deprecated</b>. Bind a ProgramVertex 173 </td> 174 </tr> 175 <tr class='alt-color api apilevel-1'> 176 <td class='jd-linkcol'> 177 <a href='rs_graphics.html#android_rs:rsgBindSampler'>rsgBindSampler</a> 178 </td> 179 <td class='jd-descrcol' width='100%'> 180 <b>Deprecated</b>. Bind a sampler 181 </td> 182 </tr> 183 <tr class='alt-color api apilevel-1'> 184 <td class='jd-linkcol'> 185 <a href='rs_graphics.html#android_rs:rsgBindTexture'>rsgBindTexture</a> 186 </td> 187 <td class='jd-descrcol' width='100%'> 188 <b>Deprecated</b>. Bind a texture allocation 189 </td> 190 </tr> 191 <tr class='alt-color api apilevel-1'> 192 <td class='jd-linkcol'> 193 <a href='rs_graphics.html#android_rs:rsgClearAllRenderTargets'>rsgClearAllRenderTargets</a> 194 </td> 195 <td class='jd-descrcol' width='100%'> 196 <b>Deprecated</b>. Clear all color and depth targets 197 </td> 198 </tr> 199 <tr class='alt-color api apilevel-1'> 200 <td class='jd-linkcol'> 201 <a href='rs_graphics.html#android_rs:rsgClearColor'>rsgClearColor</a> 202 </td> 203 <td class='jd-descrcol' width='100%'> 204 <b>Deprecated</b>. Clear the specified color from the surface 205 </td> 206 </tr> 207 <tr class='alt-color api apilevel-1'> 208 <td class='jd-linkcol'> 209 <a href='rs_graphics.html#android_rs:rsgClearColorTarget'>rsgClearColorTarget</a> 210 </td> 211 <td class='jd-descrcol' width='100%'> 212 <b>Deprecated</b>. Clear the color target 213 </td> 214 </tr> 215 <tr class='alt-color api apilevel-1'> 216 <td class='jd-linkcol'> 217 <a href='rs_graphics.html#android_rs:rsgClearDepth'>rsgClearDepth</a> 218 </td> 219 <td class='jd-descrcol' width='100%'> 220 <b>Deprecated</b>. Clear the depth surface 221 </td> 222 </tr> 223 <tr class='alt-color api apilevel-1'> 224 <td class='jd-linkcol'> 225 <a href='rs_graphics.html#android_rs:rsgClearDepthTarget'>rsgClearDepthTarget</a> 226 </td> 227 <td class='jd-descrcol' width='100%'> 228 <b>Deprecated</b>. Clear the depth target 229 </td> 230 </tr> 231 <tr class='alt-color api apilevel-1'> 232 <td class='jd-linkcol'> 233 <a href='rs_graphics.html#android_rs:rsgDrawMesh'>rsgDrawMesh</a> 234 </td> 235 <td class='jd-descrcol' width='100%'> 236 <b>Deprecated</b>. Draw a mesh 237 </td> 238 </tr> 239 <tr class='alt-color api apilevel-1'> 240 <td class='jd-linkcol'> 241 <a href='rs_graphics.html#android_rs:rsgDrawQuad'>rsgDrawQuad</a> 242 </td> 243 <td class='jd-descrcol' width='100%'> 244 <b>Deprecated</b>. Draw a quad 245 </td> 246 </tr> 247 <tr class='alt-color api apilevel-1'> 248 <td class='jd-linkcol'> 249 <a href='rs_graphics.html#android_rs:rsgDrawQuadTexCoords'>rsgDrawQuadTexCoords</a> 250 </td> 251 <td class='jd-descrcol' width='100%'> 252 <b>Deprecated</b>. Draw a textured quad 253 </td> 254 </tr> 255 <tr class='alt-color api apilevel-1'> 256 <td class='jd-linkcol'> 257 <a href='rs_graphics.html#android_rs:rsgDrawRect'>rsgDrawRect</a> 258 </td> 259 <td class='jd-descrcol' width='100%'> 260 <b>Deprecated</b>. Draw a rectangle 261 </td> 262 </tr> 263 <tr class='alt-color api apilevel-1'> 264 <td class='jd-linkcol'> 265 <a href='rs_graphics.html#android_rs:rsgDrawSpriteScreenspace'>rsgDrawSpriteScreenspace</a> 266 </td> 267 <td class='jd-descrcol' width='100%'> 268 <b>Deprecated</b>. Draw rectangles in screenspace 269 </td> 270 </tr> 271 <tr class='alt-color api apilevel-1'> 272 <td class='jd-linkcol'> 273 <a href='rs_graphics.html#android_rs:rsgDrawText'>rsgDrawText</a> 274 </td> 275 <td class='jd-descrcol' width='100%'> 276 <b>Deprecated</b>. Draw a text string 277 </td> 278 </tr> 279 <tr class='alt-color api apilevel-1'> 280 <td class='jd-linkcol'> 281 <a href='rs_graphics.html#android_rs:rsgFinish'>rsgFinish</a> 282 </td> 283 <td class='jd-descrcol' width='100%'> 284 <b>Deprecated</b>. End rendering commands 285 </td> 286 </tr> 287 <tr class='alt-color api apilevel-1'> 288 <td class='jd-linkcol'> 289 <a href='rs_graphics.html#android_rs:rsgFontColor'>rsgFontColor</a> 290 </td> 291 <td class='jd-descrcol' width='100%'> 292 <b>Deprecated</b>. Set the font color 293 </td> 294 </tr> 295 <tr class='alt-color api apilevel-1'> 296 <td class='jd-linkcol'> 297 <a href='rs_graphics.html#android_rs:rsgGetHeight'>rsgGetHeight</a> 298 </td> 299 <td class='jd-descrcol' width='100%'> 300 <b>Deprecated</b>. Get the surface height 301 </td> 302 </tr> 303 <tr class='alt-color api apilevel-1'> 304 <td class='jd-linkcol'> 305 <a href='rs_graphics.html#android_rs:rsgGetWidth'>rsgGetWidth</a> 306 </td> 307 <td class='jd-descrcol' width='100%'> 308 <b>Deprecated</b>. Get the surface width 309 </td> 310 </tr> 311 <tr class='alt-color api apilevel-1'> 312 <td class='jd-linkcol'> 313 <a href='rs_graphics.html#android_rs:rsgMeasureText'>rsgMeasureText</a> 314 </td> 315 <td class='jd-descrcol' width='100%'> 316 <b>Deprecated</b>. Get the bounding box for a text string 317 </td> 318 </tr> 319 <tr class='alt-color api apilevel-1'> 320 <td class='jd-linkcol'> 321 <a href='rs_graphics.html#android_rs:rsgMeshComputeBoundingBox'>rsgMeshComputeBoundingBox</a> 322 </td> 323 <td class='jd-descrcol' width='100%'> 324 <b>Deprecated</b>. Compute a bounding box 325 </td> 326 </tr> 327 <tr class='alt-color api apilevel-1'> 328 <td class='jd-linkcol'> 329 <a href='rs_graphics.html#android_rs:rsgMeshGetIndexAllocation'>rsgMeshGetIndexAllocation</a> 330 </td> 331 <td class='jd-descrcol' width='100%'> 332 <b>Deprecated</b>. Return an allocation containing index data 333 </td> 334 </tr> 335 <tr class='alt-color api apilevel-1'> 336 <td class='jd-linkcol'> 337 <a href='rs_graphics.html#android_rs:rsgMeshGetPrimitive'>rsgMeshGetPrimitive</a> 338 </td> 339 <td class='jd-descrcol' width='100%'> 340 <b>Deprecated</b>. Return the primitive 341 </td> 342 </tr> 343 <tr class='alt-color api apilevel-1'> 344 <td class='jd-linkcol'> 345 <a href='rs_graphics.html#android_rs:rsgMeshGetPrimitiveCount'>rsgMeshGetPrimitiveCount</a> 346 </td> 347 <td class='jd-descrcol' width='100%'> 348 <b>Deprecated</b>. Return the number of index sets 349 </td> 350 </tr> 351 <tr class='alt-color api apilevel-1'> 352 <td class='jd-linkcol'> 353 <a href='rs_graphics.html#android_rs:rsgMeshGetVertexAllocation'>rsgMeshGetVertexAllocation</a> 354 </td> 355 <td class='jd-descrcol' width='100%'> 356 <b>Deprecated</b>. Return a vertex allocation 357 </td> 358 </tr> 359 <tr class='alt-color api apilevel-1'> 360 <td class='jd-linkcol'> 361 <a href='rs_graphics.html#android_rs:rsgMeshGetVertexAllocationCount'>rsgMeshGetVertexAllocationCount</a> 362 </td> 363 <td class='jd-descrcol' width='100%'> 364 <b>Deprecated</b>. Return the number of vertex allocations 365 </td> 366 </tr> 367 <tr class='alt-color api apilevel-1'> 368 <td class='jd-linkcol'> 369 <a href='rs_graphics.html#android_rs:rsgProgramFragmentConstantColor'>rsgProgramFragmentConstantColor</a> 370 </td> 371 <td class='jd-descrcol' width='100%'> 372 <b>Deprecated</b>. Set the constant color for a fixed function emulation program 373 </td> 374 </tr> 375 <tr class='alt-color api apilevel-1'> 376 <td class='jd-linkcol'> 377 <a href='rs_graphics.html#android_rs:rsgProgramRasterGetCullMode'>rsgProgramRasterGetCullMode</a> 378 </td> 379 <td class='jd-descrcol' width='100%'> 380 <b>Deprecated</b>. Get program raster cull mode 381 </td> 382 </tr> 383 <tr class='alt-color api apilevel-1'> 384 <td class='jd-linkcol'> 385 <a href='rs_graphics.html#android_rs:rsgProgramRasterIsPointSpriteEnabled'>rsgProgramRasterIsPointSpriteEnabled</a> 386 </td> 387 <td class='jd-descrcol' width='100%'> 388 <b>Deprecated</b>. Get program raster point sprite state 389 </td> 390 </tr> 391 <tr class='alt-color api apilevel-1'> 392 <td class='jd-linkcol'> 393 <a href='rs_graphics.html#android_rs:rsgProgramStoreGetBlendDstFunc'>rsgProgramStoreGetBlendDstFunc</a> 394 </td> 395 <td class='jd-descrcol' width='100%'> 396 <b>Deprecated</b>. Get program store blend destination function 397 </td> 398 </tr> 399 <tr class='alt-color api apilevel-1'> 400 <td class='jd-linkcol'> 401 <a href='rs_graphics.html#android_rs:rsgProgramStoreGetBlendSrcFunc'>rsgProgramStoreGetBlendSrcFunc</a> 402 </td> 403 <td class='jd-descrcol' width='100%'> 404 <b>Deprecated</b>. Get program store blend source function 405 </td> 406 </tr> 407 <tr class='alt-color api apilevel-1'> 408 <td class='jd-linkcol'> 409 <a href='rs_graphics.html#android_rs:rsgProgramStoreGetDepthFunc'>rsgProgramStoreGetDepthFunc</a> 410 </td> 411 <td class='jd-descrcol' width='100%'> 412 <b>Deprecated</b>. Get program store depth function 413 </td> 414 </tr> 415 <tr class='alt-color api apilevel-1'> 416 <td class='jd-linkcol'> 417 <a href='rs_graphics.html#android_rs:rsgProgramStoreIsColorMaskAlphaEnabled'>rsgProgramStoreIsColorMaskAlphaEnabled</a> 418 </td> 419 <td class='jd-descrcol' width='100%'> 420 <b>Deprecated</b>. Get program store alpha component color mask 421 </td> 422 </tr> 423 <tr class='alt-color api apilevel-1'> 424 <td class='jd-linkcol'> 425 <a href='rs_graphics.html#android_rs:rsgProgramStoreIsColorMaskBlueEnabled'>rsgProgramStoreIsColorMaskBlueEnabled</a> 426 </td> 427 <td class='jd-descrcol' width='100%'> 428 <b>Deprecated</b>. Get program store blur component color mask 429 </td> 430 </tr> 431 <tr class='alt-color api apilevel-1'> 432 <td class='jd-linkcol'> 433 <a href='rs_graphics.html#android_rs:rsgProgramStoreIsColorMaskGreenEnabled'>rsgProgramStoreIsColorMaskGreenEnabled</a> 434 </td> 435 <td class='jd-descrcol' width='100%'> 436 <b>Deprecated</b>. Get program store green component color mask 437 </td> 438 </tr> 439 <tr class='alt-color api apilevel-1'> 440 <td class='jd-linkcol'> 441 <a href='rs_graphics.html#android_rs:rsgProgramStoreIsColorMaskRedEnabled'>rsgProgramStoreIsColorMaskRedEnabled</a> 442 </td> 443 <td class='jd-descrcol' width='100%'> 444 <b>Deprecated</b>. Get program store red component color mask 445 </td> 446 </tr> 447 <tr class='alt-color api apilevel-1'> 448 <td class='jd-linkcol'> 449 <a href='rs_graphics.html#android_rs:rsgProgramStoreIsDepthMaskEnabled'>rsgProgramStoreIsDepthMaskEnabled</a> 450 </td> 451 <td class='jd-descrcol' width='100%'> 452 <b>Deprecated</b>. Get program store depth mask 453 </td> 454 </tr> 455 <tr class='alt-color api apilevel-1'> 456 <td class='jd-linkcol'> 457 <a href='rs_graphics.html#android_rs:rsgProgramStoreIsDitherEnabled'>rsgProgramStoreIsDitherEnabled</a> 458 </td> 459 <td class='jd-descrcol' width='100%'> 460 <b>Deprecated</b>. Get program store dither state 461 </td> 462 </tr> 463 <tr class='alt-color api apilevel-1'> 464 <td class='jd-linkcol'> 465 <a href='rs_graphics.html#android_rs:rsgProgramVertexGetProjectionMatrix'>rsgProgramVertexGetProjectionMatrix</a> 466 </td> 467 <td class='jd-descrcol' width='100%'> 468 <b>Deprecated</b>. Get the projection matrix for a fixed function vertex program 469 </td> 470 </tr> 471 <tr class='alt-color api apilevel-1'> 472 <td class='jd-linkcol'> 473 <a href='rs_graphics.html#android_rs:rsgProgramVertexLoadModelMatrix'>rsgProgramVertexLoadModelMatrix</a> 474 </td> 475 <td class='jd-descrcol' width='100%'> 476 <b>Deprecated</b>. Load the model matrix for a bound fixed function vertex program 477 </td> 478 </tr> 479 <tr class='alt-color api apilevel-1'> 480 <td class='jd-linkcol'> 481 <a href='rs_graphics.html#android_rs:rsgProgramVertexLoadProjectionMatrix'>rsgProgramVertexLoadProjectionMatrix</a> 482 </td> 483 <td class='jd-descrcol' width='100%'> 484 <b>Deprecated</b>. Load the projection matrix for a bound fixed function vertex program 485 </td> 486 </tr> 487 <tr class='alt-color api apilevel-1'> 488 <td class='jd-linkcol'> 489 <a href='rs_graphics.html#android_rs:rsgProgramVertexLoadTextureMatrix'>rsgProgramVertexLoadTextureMatrix</a> 490 </td> 491 <td class='jd-descrcol' width='100%'> 492 <b>Deprecated</b>. Load the texture matrix for a bound fixed function vertex program 493 </td> 494 </tr> 495 </tbody></table> 496 <h2>Types</h2> 497 <a name='android_rs:rs_blend_dst_func'></a> 498 <div class='jd-details'> 499 <h4 class='jd-details-title'> 500 <span class='sympad'>rs_blend_dst_func</span> 501 <span class='normal'>: Blend destination function</span> 502 </h4> 503 <div class='jd-details-descr'> 504 <p>An enum with the following values: 505 When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a> 506 </p> 507 <table class='jd-tagtable'><tbody> 508 <tr><th>RS_BLEND_DST_ZERO = 0</th><td></td></tr> 509 <tr><th>RS_BLEND_DST_ONE = 1</th><td></td></tr> 510 <tr><th>RS_BLEND_DST_SRC_COLOR = 2</th><td></td></tr> 511 <tr><th>RS_BLEND_DST_ONE_MINUS_SRC_COLOR = 3</th><td></td></tr> 512 <tr><th>RS_BLEND_DST_SRC_ALPHA = 4</th><td></td></tr> 513 <tr><th>RS_BLEND_DST_ONE_MINUS_SRC_ALPHA = 5</th><td></td></tr> 514 <tr><th>RS_BLEND_DST_DST_ALPHA = 6</th><td></td></tr> 515 <tr><th>RS_BLEND_DST_ONE_MINUS_DST_ALPHA = 7</th><td></td></tr> 516 <tr><th>RS_BLEND_DST_INVALID = 100</th><td></td></tr> 517 </tbody></table><br/> 518 <p><b>Deprecated.</b> Do not use.</p> 519 </div> 520 </div> 521 522 <a name='android_rs:rs_blend_src_func'></a> 523 <div class='jd-details'> 524 <h4 class='jd-details-title'> 525 <span class='sympad'>rs_blend_src_func</span> 526 <span class='normal'>: Blend source function</span> 527 </h4> 528 <div class='jd-details-descr'> 529 <p>An enum with the following values: 530 When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a> 531 </p> 532 <table class='jd-tagtable'><tbody> 533 <tr><th>RS_BLEND_SRC_ZERO = 0</th><td></td></tr> 534 <tr><th>RS_BLEND_SRC_ONE = 1</th><td></td></tr> 535 <tr><th>RS_BLEND_SRC_DST_COLOR = 2</th><td></td></tr> 536 <tr><th>RS_BLEND_SRC_ONE_MINUS_DST_COLOR = 3</th><td></td></tr> 537 <tr><th>RS_BLEND_SRC_SRC_ALPHA = 4</th><td></td></tr> 538 <tr><th>RS_BLEND_SRC_ONE_MINUS_SRC_ALPHA = 5</th><td></td></tr> 539 <tr><th>RS_BLEND_SRC_DST_ALPHA = 6</th><td></td></tr> 540 <tr><th>RS_BLEND_SRC_ONE_MINUS_DST_ALPHA = 7</th><td></td></tr> 541 <tr><th>RS_BLEND_SRC_SRC_ALPHA_SATURATE = 8</th><td></td></tr> 542 <tr><th>RS_BLEND_SRC_INVALID = 100</th><td></td></tr> 543 </tbody></table><br/> 544 <p><b>Deprecated.</b> Do not use.</p> 545 </div> 546 </div> 547 548 <a name='android_rs:rs_cull_mode'></a> 549 <div class='jd-details'> 550 <h4 class='jd-details-title'> 551 <span class='sympad'>rs_cull_mode</span> 552 <span class='normal'>: Culling mode</span> 553 </h4> 554 <div class='jd-details-descr'> 555 <p>An enum with the following values: 556 When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a> 557 </p> 558 <table class='jd-tagtable'><tbody> 559 <tr><th>RS_CULL_BACK = 0</th><td></td></tr> 560 <tr><th>RS_CULL_FRONT = 1</th><td></td></tr> 561 <tr><th>RS_CULL_NONE = 2</th><td></td></tr> 562 <tr><th>RS_CULL_INVALID = 100</th><td></td></tr> 563 </tbody></table><br/> 564 <p><b>Deprecated.</b> Do not use.</p> 565 </div> 566 </div> 567 568 <a name='android_rs:rs_depth_func'></a> 569 <div class='jd-details'> 570 <h4 class='jd-details-title'> 571 <span class='sympad'>rs_depth_func</span> 572 <span class='normal'>: Depth function</span> 573 </h4> 574 <div class='jd-details-descr'> 575 <p>An enum with the following values: 576 When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a> 577 </p> 578 <table class='jd-tagtable'><tbody> 579 <tr><th>RS_DEPTH_FUNC_ALWAYS = 0</th><td>Always drawn</td></tr> 580 <tr><th>RS_DEPTH_FUNC_LESS = 1</th><td>Drawn if the incoming depth value is less than that in the depth buffer</td></tr> 581 <tr><th>RS_DEPTH_FUNC_LEQUAL = 2</th><td>Drawn if the incoming depth value is less or equal to that in the depth buffer</td></tr> 582 <tr><th>RS_DEPTH_FUNC_GREATER = 3</th><td>Drawn if the incoming depth value is greater than that in the depth buffer</td></tr> 583 <tr><th>RS_DEPTH_FUNC_GEQUAL = 4</th><td>Drawn if the incoming depth value is greater or equal to that in the depth buffer</td></tr> 584 <tr><th>RS_DEPTH_FUNC_EQUAL = 5</th><td>Drawn if the incoming depth value is equal to that in the depth buffer</td></tr> 585 <tr><th>RS_DEPTH_FUNC_NOTEQUAL = 6</th><td>Drawn if the incoming depth value is not equal to that in the depth buffer</td></tr> 586 <tr><th>RS_DEPTH_FUNC_INVALID = 100</th><td>Invalid depth function</td></tr> 587 </tbody></table><br/> 588 <p><b>Deprecated.</b> Do not use.</p> 589 <p> Specifies conditional drawing depending on the comparison of the incoming 590 depth to that found in the depth buffer. 591 </p> 592 </div> 593 </div> 594 595 <a name='android_rs:rs_font'></a> 596 <div class='jd-details'> 597 <h4 class='jd-details-title'> 598 <span class='sympad'>rs_font</span> 599 <span class='normal'>: Handle to a Font</span> 600 </h4> 601 <div class='jd-details-descr'> 602 <p>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> 603 </p> 604 <p><b>Deprecated.</b> Do not use.</p> 605 <p> Opaque handle to a RenderScript font object. 606 See: android.renderscript.Font 607 </p> 608 </div> 609 </div> 610 611 <a name='android_rs:rs_mesh'></a> 612 <div class='jd-details'> 613 <h4 class='jd-details-title'> 614 <span class='sympad'>rs_mesh</span> 615 <span class='normal'>: Handle to a Mesh</span> 616 </h4> 617 <div class='jd-details-descr'> 618 <p>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> 619 </p> 620 <p><b>Deprecated.</b> Do not use.</p> 621 <p> Opaque handle to a RenderScript mesh object. 622 See: android.renderscript.Mesh 623 </p> 624 </div> 625 </div> 626 627 <a name='android_rs:rs_primitive'></a> 628 <div class='jd-details'> 629 <h4 class='jd-details-title'> 630 <span class='sympad'>rs_primitive</span> 631 <span class='normal'>: How to intepret mesh vertex data</span> 632 </h4> 633 <div class='jd-details-descr'> 634 <p>An enum with the following values: 635 When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a> 636 </p> 637 <table class='jd-tagtable'><tbody> 638 <tr><th>RS_PRIMITIVE_POINT = 0</th><td>Vertex data will be rendered as a series of points</td></tr> 639 <tr><th>RS_PRIMITIVE_LINE = 1</th><td>Vertex pairs will be rendered as lines</td></tr> 640 <tr><th>RS_PRIMITIVE_LINE_STRIP = 2</th><td>Vertex data will be rendered as a connected line strip</td></tr> 641 <tr><th>RS_PRIMITIVE_TRIANGLE = 3</th><td>Vertices will be rendered as individual triangles</td></tr> 642 <tr><th>RS_PRIMITIVE_TRIANGLE_STRIP = 4</th><td>Vertices will be rendered as a connected triangle strip defined by the first three vertices with each additional triangle defined by a new vertex</td></tr> 643 <tr><th>RS_PRIMITIVE_TRIANGLE_FAN = 5</th><td>Vertices will be rendered as a sequence of triangles that all share first vertex as the origin</td></tr> 644 <tr><th>RS_PRIMITIVE_INVALID = 100</th><td>Invalid primitive</td></tr> 645 </tbody></table><br/> 646 <p><b>Deprecated.</b> Do not use.</p> 647 <p> Describes the way mesh vertex data is interpreted when rendering 648 </p> 649 </div> 650 </div> 651 652 <a name='android_rs:rs_program_fragment'></a> 653 <div class='jd-details'> 654 <h4 class='jd-details-title'> 655 <span class='sympad'>rs_program_fragment</span> 656 <span class='normal'>: Handle to a ProgramFragment</span> 657 </h4> 658 <div class='jd-details-descr'> 659 <p>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> 660 </p> 661 <p><b>Deprecated.</b> Do not use.</p> 662 <p> Opaque handle to a RenderScript ProgramFragment object. 663 See: android.renderscript.ProgramFragment 664 </p> 665 </div> 666 </div> 667 668 <a name='android_rs:rs_program_raster'></a> 669 <div class='jd-details'> 670 <h4 class='jd-details-title'> 671 <span class='sympad'>rs_program_raster</span> 672 <span class='normal'>: Handle to a ProgramRaster</span> 673 </h4> 674 <div class='jd-details-descr'> 675 <p>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> 676 </p> 677 <p><b>Deprecated.</b> Do not use.</p> 678 <p> Opaque handle to a RenderScript ProgramRaster object. 679 See: android.renderscript.ProgramRaster 680 </p> 681 </div> 682 </div> 683 684 <a name='android_rs:rs_program_store'></a> 685 <div class='jd-details'> 686 <h4 class='jd-details-title'> 687 <span class='sympad'>rs_program_store</span> 688 <span class='normal'>: Handle to a ProgramStore</span> 689 </h4> 690 <div class='jd-details-descr'> 691 <p>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> 692 </p> 693 <p><b>Deprecated.</b> Do not use.</p> 694 <p> Opaque handle to a RenderScript ProgramStore object. 695 See: android.renderscript.ProgramStore 696 </p> 697 </div> 698 </div> 699 700 <a name='android_rs:rs_program_vertex'></a> 701 <div class='jd-details'> 702 <h4 class='jd-details-title'> 703 <span class='sympad'>rs_program_vertex</span> 704 <span class='normal'>: Handle to a ProgramVertex</span> 705 </h4> 706 <div class='jd-details-descr'> 707 <p>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> 708 </p> 709 <p><b>Deprecated.</b> Do not use.</p> 710 <p> Opaque handle to a RenderScript ProgramVertex object. 711 See: android.renderscript.ProgramVertex 712 </p> 713 </div> 714 </div> 715 716 <h2>Functions</h2> 717 <a name='android_rs:rsgAllocationSyncAll'></a> 718 <div class='jd-details'> 719 <h4 class='jd-details-title'> 720 <span class='sympad'>rsgAllocationSyncAll</span> 721 <span class='normal'>: Sync the contents of an allocation</span> 722 </h4> 723 <div class='jd-details-descr'> 724 <table class='jd-tagtable'><tbody> 725 <tr> 726 <td>void rsgAllocationSyncAll(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> alloc); 727 </td> 728 <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> 729 </td> 730 </tr> 731 <tr> 732 <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); 733 </td> 734 <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> 735 </td> 736 </tr> 737 </tbody></table> 738 </div> 739 <div class='jd-tagdata jd-tagdescr'> 740 <p><b>Deprecated.</b> Do not use.</p> 741 <p> Sync the contents of an allocation. 742 </p> 743 744 <p> If the source is specified, sync from memory space specified by source. 745 </p> 746 747 <p> If the source is not specified, sync from its SCRIPT memory space to its HW 748 memory spaces. 749 </p> 750 </div> 751 </div> 752 753 <a name='android_rs:rsgBindColorTarget'></a> 754 <div class='jd-details'> 755 <h4 class='jd-details-title'> 756 <span class='sympad'>rsgBindColorTarget</span> 757 <span class='normal'>: Set the color target</span> 758 </h4> 759 <div class='jd-details-descr'> 760 <table class='jd-tagtable'><tbody> 761 <tr> 762 <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); 763 </td> 764 <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> 765 </td> 766 </tr> 767 </tbody></table> 768 </div> 769 <div class='jd-tagdata jd-tagdescr'> 770 <p><b>Deprecated.</b> Do not use.</p> 771 <p> Set the color target used for all subsequent rendering calls 772 </p> 773 </div> 774 </div> 775 776 <a name='android_rs:rsgBindConstant'></a> 777 <div class='jd-details'> 778 <h4 class='jd-details-title'> 779 <span class='sympad'>rsgBindConstant</span> 780 <span class='normal'>: Bind a constant allocation</span> 781 </h4> 782 <div class='jd-details-descr'> 783 <table class='jd-tagtable'><tbody> 784 <tr> 785 <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); 786 </td> 787 <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> 788 </td> 789 </tr> 790 <tr> 791 <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); 792 </td> 793 <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> 794 </td> 795 </tr> 796 </tbody></table> 797 </div> 798 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 799 <table class='jd-tagtable'><tbody> 800 <tr><th>ps</th><td>program fragment object</td></tr> 801 <tr><th>slot</th><td>index of the constant buffer on the program</td></tr> 802 <tr><th>c</th><td>constants to bind</td></tr> 803 <tr><th>pv</th><td>program vertex object</td></tr> 804 </tbody></table> 805 </div> 806 <div class='jd-tagdata jd-tagdescr'> 807 <p><b>Deprecated.</b> Do not use.</p> 808 <p> Bind a new Allocation object to a ProgramFragment or ProgramVertex. 809 The Allocation must be a valid constant input for the Program. 810 </p> 811 </div> 812 </div> 813 814 <a name='android_rs:rsgBindDepthTarget'></a> 815 <div class='jd-details'> 816 <h4 class='jd-details-title'> 817 <span class='sympad'>rsgBindDepthTarget</span> 818 <span class='normal'>: Set the depth target</span> 819 </h4> 820 <div class='jd-details-descr'> 821 <table class='jd-tagtable'><tbody> 822 <tr> 823 <td>void rsgBindDepthTarget(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> depthTarget); 824 </td> 825 <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> 826 </td> 827 </tr> 828 </tbody></table> 829 </div> 830 <div class='jd-tagdata jd-tagdescr'> 831 <p><b>Deprecated.</b> Do not use.</p> 832 <p> Set the depth target used for all subsequent rendering calls 833 </p> 834 </div> 835 </div> 836 837 <a name='android_rs:rsgBindFont'></a> 838 <div class='jd-details'> 839 <h4 class='jd-details-title'> 840 <span class='sympad'>rsgBindFont</span> 841 <span class='normal'>: Bind a font object</span> 842 </h4> 843 <div class='jd-details-descr'> 844 <table class='jd-tagtable'><tbody> 845 <tr> 846 <td>void rsgBindFont(<a href='rs_graphics.html#android_rs:rs_font'>rs_font</a> font); 847 </td> 848 <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> 849 </td> 850 </tr> 851 </tbody></table> 852 </div> 853 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 854 <table class='jd-tagtable'><tbody> 855 <tr><th>font</th><td>object to bind</td></tr> 856 </tbody></table> 857 </div> 858 <div class='jd-tagdata jd-tagdescr'> 859 <p><b>Deprecated.</b> Do not use.</p> 860 <p> Binds the font object to be used for all subsequent font rendering calls 861 </p> 862 </div> 863 </div> 864 865 <a name='android_rs:rsgBindProgramFragment'></a> 866 <div class='jd-details'> 867 <h4 class='jd-details-title'> 868 <span class='sympad'>rsgBindProgramFragment</span> 869 <span class='normal'>: Bind a ProgramFragment</span> 870 </h4> 871 <div class='jd-details-descr'> 872 <table class='jd-tagtable'><tbody> 873 <tr> 874 <td>void rsgBindProgramFragment(<a href='rs_graphics.html#android_rs:rs_program_fragment'>rs_program_fragment</a> pf); 875 </td> 876 <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> 877 </td> 878 </tr> 879 </tbody></table> 880 </div> 881 <div class='jd-tagdata jd-tagdescr'> 882 <p><b>Deprecated.</b> Do not use.</p> 883 <p> Bind a new ProgramFragment to the rendering context. 884 </p> 885 </div> 886 </div> 887 888 <a name='android_rs:rsgBindProgramRaster'></a> 889 <div class='jd-details'> 890 <h4 class='jd-details-title'> 891 <span class='sympad'>rsgBindProgramRaster</span> 892 <span class='normal'>: Bind a ProgramRaster</span> 893 </h4> 894 <div class='jd-details-descr'> 895 <table class='jd-tagtable'><tbody> 896 <tr> 897 <td>void rsgBindProgramRaster(<a href='rs_graphics.html#android_rs:rs_program_raster'>rs_program_raster</a> pr); 898 </td> 899 <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> 900 </td> 901 </tr> 902 </tbody></table> 903 </div> 904 <div class='jd-tagdata jd-tagdescr'> 905 <p><b>Deprecated.</b> Do not use.</p> 906 <p> Bind a new ProgramRaster to the rendering context. 907 </p> 908 </div> 909 </div> 910 911 <a name='android_rs:rsgBindProgramStore'></a> 912 <div class='jd-details'> 913 <h4 class='jd-details-title'> 914 <span class='sympad'>rsgBindProgramStore</span> 915 <span class='normal'>: Bind a ProgramStore</span> 916 </h4> 917 <div class='jd-details-descr'> 918 <table class='jd-tagtable'><tbody> 919 <tr> 920 <td>void rsgBindProgramStore(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps); 921 </td> 922 <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> 923 </td> 924 </tr> 925 </tbody></table> 926 </div> 927 <div class='jd-tagdata jd-tagdescr'> 928 <p><b>Deprecated.</b> Do not use.</p> 929 <p> Bind a new ProgramStore to the rendering context. 930 </p> 931 </div> 932 </div> 933 934 <a name='android_rs:rsgBindProgramVertex'></a> 935 <div class='jd-details'> 936 <h4 class='jd-details-title'> 937 <span class='sympad'>rsgBindProgramVertex</span> 938 <span class='normal'>: Bind a ProgramVertex</span> 939 </h4> 940 <div class='jd-details-descr'> 941 <table class='jd-tagtable'><tbody> 942 <tr> 943 <td>void rsgBindProgramVertex(<a href='rs_graphics.html#android_rs:rs_program_vertex'>rs_program_vertex</a> pv); 944 </td> 945 <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> 946 </td> 947 </tr> 948 </tbody></table> 949 </div> 950 <div class='jd-tagdata jd-tagdescr'> 951 <p><b>Deprecated.</b> Do not use.</p> 952 <p> Bind a new ProgramVertex to the rendering context. 953 </p> 954 </div> 955 </div> 956 957 <a name='android_rs:rsgBindSampler'></a> 958 <div class='jd-details'> 959 <h4 class='jd-details-title'> 960 <span class='sympad'>rsgBindSampler</span> 961 <span class='normal'>: Bind a sampler</span> 962 </h4> 963 <div class='jd-details-descr'> 964 <table class='jd-tagtable'><tbody> 965 <tr> 966 <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); 967 </td> 968 <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> 969 </td> 970 </tr> 971 </tbody></table> 972 </div> 973 <div class='jd-tagdata jd-tagdescr'> 974 <p><b>Deprecated.</b> Do not use.</p> 975 <p> Bind a new Sampler object to a ProgramFragment. The sampler will 976 operate on the texture bound at the matching slot. 977 </p> 978 </div> 979 </div> 980 981 <a name='android_rs:rsgBindTexture'></a> 982 <div class='jd-details'> 983 <h4 class='jd-details-title'> 984 <span class='sympad'>rsgBindTexture</span> 985 <span class='normal'>: Bind a texture allocation</span> 986 </h4> 987 <div class='jd-details-descr'> 988 <table class='jd-tagtable'><tbody> 989 <tr> 990 <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); 991 </td> 992 <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> 993 </td> 994 </tr> 995 </tbody></table> 996 </div> 997 <div class='jd-tagdata jd-tagdescr'> 998 <p><b>Deprecated.</b> Do not use.</p> 999 <p> Bind a new Allocation object to a ProgramFragment. The 1000 Allocation must be a valid texture for the Program. The sampling 1001 of the texture will be controled by the Sampler bound at the 1002 matching slot. 1003 </p> 1004 </div> 1005 </div> 1006 1007 <a name='android_rs:rsgClearAllRenderTargets'></a> 1008 <div class='jd-details'> 1009 <h4 class='jd-details-title'> 1010 <span class='sympad'>rsgClearAllRenderTargets</span> 1011 <span class='normal'>: Clear all color and depth targets</span> 1012 </h4> 1013 <div class='jd-details-descr'> 1014 <table class='jd-tagtable'><tbody> 1015 <tr> 1016 <td>void rsgClearAllRenderTargets(); 1017 </td> 1018 <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> 1019 </td> 1020 </tr> 1021 </tbody></table> 1022 </div> 1023 <div class='jd-tagdata jd-tagdescr'> 1024 <p><b>Deprecated.</b> Do not use.</p> 1025 <p> Clear all color and depth targets and resume rendering into 1026 the framebuffer 1027 </p> 1028 </div> 1029 </div> 1030 1031 <a name='android_rs:rsgClearColor'></a> 1032 <div class='jd-details'> 1033 <h4 class='jd-details-title'> 1034 <span class='sympad'>rsgClearColor</span> 1035 <span class='normal'>: Clear the specified color from the surface</span> 1036 </h4> 1037 <div class='jd-details-descr'> 1038 <table class='jd-tagtable'><tbody> 1039 <tr> 1040 <td>void rsgClearColor(float r, float g, float b, float a); 1041 </td> 1042 <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> 1043 </td> 1044 </tr> 1045 </tbody></table> 1046 </div> 1047 <div class='jd-tagdata jd-tagdescr'> 1048 <p><b>Deprecated.</b> Do not use.</p> 1049 <p> Clears the rendering surface to the specified color. 1050 </p> 1051 </div> 1052 </div> 1053 1054 <a name='android_rs:rsgClearColorTarget'></a> 1055 <div class='jd-details'> 1056 <h4 class='jd-details-title'> 1057 <span class='sympad'>rsgClearColorTarget</span> 1058 <span class='normal'>: Clear the color target</span> 1059 </h4> 1060 <div class='jd-details-descr'> 1061 <table class='jd-tagtable'><tbody> 1062 <tr> 1063 <td>void rsgClearColorTarget(<a href='rs_value_types.html#android_rs:uint'>uint</a> slot); 1064 </td> 1065 <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> 1066 </td> 1067 </tr> 1068 </tbody></table> 1069 </div> 1070 <div class='jd-tagdata jd-tagdescr'> 1071 <p><b>Deprecated.</b> Do not use.</p> 1072 <p> Clear the previously set color target 1073 </p> 1074 </div> 1075 </div> 1076 1077 <a name='android_rs:rsgClearDepth'></a> 1078 <div class='jd-details'> 1079 <h4 class='jd-details-title'> 1080 <span class='sympad'>rsgClearDepth</span> 1081 <span class='normal'>: Clear the depth surface</span> 1082 </h4> 1083 <div class='jd-details-descr'> 1084 <table class='jd-tagtable'><tbody> 1085 <tr> 1086 <td>void rsgClearDepth(float value); 1087 </td> 1088 <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> 1089 </td> 1090 </tr> 1091 </tbody></table> 1092 </div> 1093 <div class='jd-tagdata jd-tagdescr'> 1094 <p><b>Deprecated.</b> Do not use.</p> 1095 <p> Clears the depth suface to the specified value. 1096 </p> 1097 </div> 1098 </div> 1099 1100 <a name='android_rs:rsgClearDepthTarget'></a> 1101 <div class='jd-details'> 1102 <h4 class='jd-details-title'> 1103 <span class='sympad'>rsgClearDepthTarget</span> 1104 <span class='normal'>: Clear the depth target</span> 1105 </h4> 1106 <div class='jd-details-descr'> 1107 <table class='jd-tagtable'><tbody> 1108 <tr> 1109 <td>void rsgClearDepthTarget(); 1110 </td> 1111 <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> 1112 </td> 1113 </tr> 1114 </tbody></table> 1115 </div> 1116 <div class='jd-tagdata jd-tagdescr'> 1117 <p><b>Deprecated.</b> Do not use.</p> 1118 <p> Clear the previously set depth target 1119 </p> 1120 </div> 1121 </div> 1122 1123 <a name='android_rs:rsgDrawMesh'></a> 1124 <div class='jd-details'> 1125 <h4 class='jd-details-title'> 1126 <span class='sympad'>rsgDrawMesh</span> 1127 <span class='normal'>: Draw a mesh</span> 1128 </h4> 1129 <div class='jd-details-descr'> 1130 <table class='jd-tagtable'><tbody> 1131 <tr> 1132 <td>void rsgDrawMesh(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> ism); 1133 </td> 1134 <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> 1135 </td> 1136 </tr> 1137 <tr> 1138 <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); 1139 </td> 1140 <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> 1141 </td> 1142 </tr> 1143 <tr> 1144 <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); 1145 </td> 1146 <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> 1147 </td> 1148 </tr> 1149 </tbody></table> 1150 </div> 1151 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1152 <table class='jd-tagtable'><tbody> 1153 <tr><th>ism</th><td>mesh object to render</td></tr> 1154 <tr><th>primitiveIndex</th><td>for meshes that contain multiple primitive groups this parameter specifies the index of the group to draw.</td></tr> 1155 <tr><th>start</th><td>starting index in the range</td></tr> 1156 <tr><th>len</th><td>number of indices to draw</td></tr> 1157 </tbody></table> 1158 </div> 1159 <div class='jd-tagdata jd-tagdescr'> 1160 <p><b>Deprecated.</b> Do not use.</p> 1161 <p> Draw a mesh using the current context state. 1162 </p> 1163 1164 <p> If primitiveIndex is specified, draw part of a mesh using the current context state. 1165 </p> 1166 1167 <p> If start and len are also specified, draw specified index range of part of a mesh using the current context state. 1168 </p> 1169 1170 <p> Otherwise the whole mesh is rendered. 1171 </p> 1172 </div> 1173 </div> 1174 1175 <a name='android_rs:rsgDrawQuad'></a> 1176 <div class='jd-details'> 1177 <h4 class='jd-details-title'> 1178 <span class='sympad'>rsgDrawQuad</span> 1179 <span class='normal'>: Draw a quad</span> 1180 </h4> 1181 <div class='jd-details-descr'> 1182 <table class='jd-tagtable'><tbody> 1183 <tr> 1184 <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); 1185 </td> 1186 <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> 1187 </td> 1188 </tr> 1189 </tbody></table> 1190 </div> 1191 <div class='jd-tagdata jd-tagdescr'> 1192 <p><b>Deprecated.</b> Do not use.</p> 1193 <p> Low performance utility function for drawing a simple quad. Not intended for 1194 drawing large quantities of geometry. 1195 </p> 1196 </div> 1197 </div> 1198 1199 <a name='android_rs:rsgDrawQuadTexCoords'></a> 1200 <div class='jd-details'> 1201 <h4 class='jd-details-title'> 1202 <span class='sympad'>rsgDrawQuadTexCoords</span> 1203 <span class='normal'>: Draw a textured quad</span> 1204 </h4> 1205 <div class='jd-details-descr'> 1206 <table class='jd-tagtable'><tbody> 1207 <tr> 1208 <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); 1209 </td> 1210 <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> 1211 </td> 1212 </tr> 1213 </tbody></table> 1214 </div> 1215 <div class='jd-tagdata jd-tagdescr'> 1216 <p><b>Deprecated.</b> Do not use.</p> 1217 <p> Low performance utility function for drawing a textured quad. Not intended 1218 for drawing large quantities of geometry. 1219 </p> 1220 </div> 1221 </div> 1222 1223 <a name='android_rs:rsgDrawRect'></a> 1224 <div class='jd-details'> 1225 <h4 class='jd-details-title'> 1226 <span class='sympad'>rsgDrawRect</span> 1227 <span class='normal'>: Draw a rectangle</span> 1228 </h4> 1229 <div class='jd-details-descr'> 1230 <table class='jd-tagtable'><tbody> 1231 <tr> 1232 <td>void rsgDrawRect(float x1, float y1, float x2, float y2, float z); 1233 </td> 1234 <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> 1235 </td> 1236 </tr> 1237 </tbody></table> 1238 </div> 1239 <div class='jd-tagdata jd-tagdescr'> 1240 <p><b>Deprecated.</b> Do not use.</p> 1241 <p> Low performance utility function for drawing a simple rectangle. Not 1242 intended for drawing large quantities of geometry. 1243 </p> 1244 </div> 1245 </div> 1246 1247 <a name='android_rs:rsgDrawSpriteScreenspace'></a> 1248 <div class='jd-details'> 1249 <h4 class='jd-details-title'> 1250 <span class='sympad'>rsgDrawSpriteScreenspace</span> 1251 <span class='normal'>: Draw rectangles in screenspace</span> 1252 </h4> 1253 <div class='jd-details-descr'> 1254 <table class='jd-tagtable'><tbody> 1255 <tr> 1256 <td>void rsgDrawSpriteScreenspace(float x, float y, float z, float w, float h); 1257 </td> 1258 <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> 1259 </td> 1260 </tr> 1261 </tbody></table> 1262 </div> 1263 <div class='jd-tagdata jd-tagdescr'> 1264 <p><b>Deprecated.</b> Do not use.</p> 1265 <p> Low performance function for drawing rectangles in screenspace. This 1266 function uses the default passthough ProgramVertex. Any bound ProgramVertex 1267 is ignored. This function has considerable overhead and should not be used 1268 for drawing in shipping applications. 1269 </p> 1270 </div> 1271 </div> 1272 1273 <a name='android_rs:rsgDrawText'></a> 1274 <div class='jd-details'> 1275 <h4 class='jd-details-title'> 1276 <span class='sympad'>rsgDrawText</span> 1277 <span class='normal'>: Draw a text string</span> 1278 </h4> 1279 <div class='jd-details-descr'> 1280 <table class='jd-tagtable'><tbody> 1281 <tr> 1282 <td>void rsgDrawText(const char* text, int x, int y); 1283 </td> 1284 <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> 1285 </td> 1286 </tr> 1287 <tr> 1288 <td>void rsgDrawText(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> alloc, int x, int y); 1289 </td> 1290 <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> 1291 </td> 1292 </tr> 1293 </tbody></table> 1294 </div> 1295 <div class='jd-tagdata jd-tagdescr'> 1296 <p><b>Deprecated.</b> Do not use.</p> 1297 <p> Draws text given a string and location 1298 </p> 1299 </div> 1300 </div> 1301 1302 <a name='android_rs:rsgFinish'></a> 1303 <div class='jd-details'> 1304 <h4 class='jd-details-title'> 1305 <span class='sympad'>rsgFinish</span> 1306 <span class='normal'>: End rendering commands</span> 1307 </h4> 1308 <div class='jd-details-descr'> 1309 <table class='jd-tagtable'><tbody> 1310 <tr> 1311 <td><a href='rs_value_types.html#android_rs:uint'>uint</a> rsgFinish(); 1312 </td> 1313 <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> 1314 </td> 1315 </tr> 1316 </tbody></table> 1317 </div> 1318 <div class='jd-tagdata jd-tagdescr'> 1319 <p><b>Deprecated.</b> Do not use.</p> 1320 <p> Force RenderScript to finish all rendering commands 1321 </p> 1322 </div> 1323 </div> 1324 1325 <a name='android_rs:rsgFontColor'></a> 1326 <div class='jd-details'> 1327 <h4 class='jd-details-title'> 1328 <span class='sympad'>rsgFontColor</span> 1329 <span class='normal'>: Set the font color</span> 1330 </h4> 1331 <div class='jd-details-descr'> 1332 <table class='jd-tagtable'><tbody> 1333 <tr> 1334 <td>void rsgFontColor(float r, float g, float b, float a); 1335 </td> 1336 <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> 1337 </td> 1338 </tr> 1339 </tbody></table> 1340 </div> 1341 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1342 <table class='jd-tagtable'><tbody> 1343 <tr><th>r</th><td>red component</td></tr> 1344 <tr><th>g</th><td>green component</td></tr> 1345 <tr><th>b</th><td>blue component</td></tr> 1346 <tr><th>a</th><td>alpha component</td></tr> 1347 </tbody></table> 1348 </div> 1349 <div class='jd-tagdata jd-tagdescr'> 1350 <p><b>Deprecated.</b> Do not use.</p> 1351 <p> Sets the font color for all subsequent rendering calls 1352 </p> 1353 </div> 1354 </div> 1355 1356 <a name='android_rs:rsgGetHeight'></a> 1357 <div class='jd-details'> 1358 <h4 class='jd-details-title'> 1359 <span class='sympad'>rsgGetHeight</span> 1360 <span class='normal'>: Get the surface height</span> 1361 </h4> 1362 <div class='jd-details-descr'> 1363 <table class='jd-tagtable'><tbody> 1364 <tr> 1365 <td><a href='rs_value_types.html#android_rs:uint'>uint</a> rsgGetHeight(); 1366 </td> 1367 <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> 1368 </td> 1369 </tr> 1370 </tbody></table> 1371 </div> 1372 <div class='jd-tagdata jd-tagdescr'> 1373 <p><b>Deprecated.</b> Do not use.</p> 1374 <p> Get the height of the current rendering surface. 1375 </p> 1376 </div> 1377 </div> 1378 1379 <a name='android_rs:rsgGetWidth'></a> 1380 <div class='jd-details'> 1381 <h4 class='jd-details-title'> 1382 <span class='sympad'>rsgGetWidth</span> 1383 <span class='normal'>: Get the surface width</span> 1384 </h4> 1385 <div class='jd-details-descr'> 1386 <table class='jd-tagtable'><tbody> 1387 <tr> 1388 <td><a href='rs_value_types.html#android_rs:uint'>uint</a> rsgGetWidth(); 1389 </td> 1390 <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> 1391 </td> 1392 </tr> 1393 </tbody></table> 1394 </div> 1395 <div class='jd-tagdata jd-tagdescr'> 1396 <p><b>Deprecated.</b> Do not use.</p> 1397 <p> Get the width of the current rendering surface. 1398 </p> 1399 </div> 1400 </div> 1401 1402 <a name='android_rs:rsgMeasureText'></a> 1403 <div class='jd-details'> 1404 <h4 class='jd-details-title'> 1405 <span class='sympad'>rsgMeasureText</span> 1406 <span class='normal'>: Get the bounding box for a text string</span> 1407 </h4> 1408 <div class='jd-details-descr'> 1409 <table class='jd-tagtable'><tbody> 1410 <tr> 1411 <td>void rsgMeasureText(const char* text, int* left, int* right, int* top, int* bottom); 1412 </td> 1413 <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> 1414 </td> 1415 </tr> 1416 <tr> 1417 <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); 1418 </td> 1419 <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> 1420 </td> 1421 </tr> 1422 </tbody></table> 1423 </div> 1424 <div class='jd-tagdata jd-tagdescr'> 1425 <p><b>Deprecated.</b> Do not use.</p> 1426 <p> Returns the bounding box of the text relative to (0, 0) 1427 Any of left, right, top, bottom could be NULL 1428 </p> 1429 </div> 1430 </div> 1431 1432 <a name='android_rs:rsgMeshComputeBoundingBox'></a> 1433 <div class='jd-details'> 1434 <h4 class='jd-details-title'> 1435 <span class='sympad'>rsgMeshComputeBoundingBox</span> 1436 <span class='normal'>: Compute a bounding box</span> 1437 </h4> 1438 <div class='jd-details-descr'> 1439 <table class='jd-tagtable'><tbody> 1440 <tr> 1441 <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); 1442 </td> 1443 <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> 1444 </td> 1445 </tr> 1446 <tr> 1447 <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); 1448 </td> 1449 <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> 1450 </td> 1451 </tr> 1452 </tbody></table> 1453 </div> 1454 <div class='jd-tagdata jd-tagdescr'> 1455 <p><b>Deprecated.</b> Do not use.</p> 1456 <p> Computes an axis aligned bounding box of a mesh object 1457 </p> 1458 </div> 1459 </div> 1460 1461 <a name='android_rs:rsgMeshGetIndexAllocation'></a> 1462 <div class='jd-details'> 1463 <h4 class='jd-details-title'> 1464 <span class='sympad'>rsgMeshGetIndexAllocation</span> 1465 <span class='normal'>: Return an allocation containing index data</span> 1466 </h4> 1467 <div class='jd-details-descr'> 1468 <table class='jd-tagtable'><tbody> 1469 <tr> 1470 <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); 1471 </td> 1472 <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> 1473 </td> 1474 </tr> 1475 </tbody></table> 1476 </div> 1477 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1478 <table class='jd-tagtable'><tbody> 1479 <tr><th>m</th><td>mesh to get data from</td></tr> 1480 <tr><th>index</th><td>index of the index allocation</td></tr> 1481 </tbody></table> 1482 </div> 1483 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Returns</h5> 1484 <table class='jd-tagtable'><tbody> 1485 <tr><td>allocation containing index data</td></tr> 1486 </tbody></table> 1487 </div> 1488 <div class='jd-tagdata jd-tagdescr'> 1489 <p><b>Deprecated.</b> Do not use.</p> 1490 <p> Returns an allocation containing index data or a null 1491 allocation if only the primitive is specified 1492 </p> 1493 </div> 1494 </div> 1495 1496 <a name='android_rs:rsgMeshGetPrimitive'></a> 1497 <div class='jd-details'> 1498 <h4 class='jd-details-title'> 1499 <span class='sympad'>rsgMeshGetPrimitive</span> 1500 <span class='normal'>: Return the primitive</span> 1501 </h4> 1502 <div class='jd-details-descr'> 1503 <table class='jd-tagtable'><tbody> 1504 <tr> 1505 <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); 1506 </td> 1507 <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> 1508 </td> 1509 </tr> 1510 </tbody></table> 1511 </div> 1512 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1513 <table class='jd-tagtable'><tbody> 1514 <tr><th>m</th><td>mesh to get data from</td></tr> 1515 <tr><th>index</th><td>index of the primitive</td></tr> 1516 </tbody></table> 1517 </div> 1518 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Returns</h5> 1519 <table class='jd-tagtable'><tbody> 1520 <tr><td>primitive describing how the mesh is rendered</td></tr> 1521 </tbody></table> 1522 </div> 1523 <div class='jd-tagdata jd-tagdescr'> 1524 <p><b>Deprecated.</b> Do not use.</p> 1525 <p> Returns the primitive describing how a part of the mesh is 1526 rendered 1527 </p> 1528 </div> 1529 </div> 1530 1531 <a name='android_rs:rsgMeshGetPrimitiveCount'></a> 1532 <div class='jd-details'> 1533 <h4 class='jd-details-title'> 1534 <span class='sympad'>rsgMeshGetPrimitiveCount</span> 1535 <span class='normal'>: Return the number of index sets</span> 1536 </h4> 1537 <div class='jd-details-descr'> 1538 <table class='jd-tagtable'><tbody> 1539 <tr> 1540 <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); 1541 </td> 1542 <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> 1543 </td> 1544 </tr> 1545 </tbody></table> 1546 </div> 1547 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1548 <table class='jd-tagtable'><tbody> 1549 <tr><th>m</th><td>mesh to get data from</td></tr> 1550 </tbody></table> 1551 </div> 1552 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Returns</h5> 1553 <table class='jd-tagtable'><tbody> 1554 <tr><td>number of primitive groups in the mesh. This would include simple primitives as well as allocations containing index data</td></tr> 1555 </tbody></table> 1556 </div> 1557 <div class='jd-tagdata jd-tagdescr'> 1558 <p><b>Deprecated.</b> Do not use.</p> 1559 <p> Meshes could have multiple index sets, this function returns 1560 the number. 1561 </p> 1562 </div> 1563 </div> 1564 1565 <a name='android_rs:rsgMeshGetVertexAllocation'></a> 1566 <div class='jd-details'> 1567 <h4 class='jd-details-title'> 1568 <span class='sympad'>rsgMeshGetVertexAllocation</span> 1569 <span class='normal'>: Return a vertex allocation</span> 1570 </h4> 1571 <div class='jd-details-descr'> 1572 <table class='jd-tagtable'><tbody> 1573 <tr> 1574 <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); 1575 </td> 1576 <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> 1577 </td> 1578 </tr> 1579 </tbody></table> 1580 </div> 1581 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1582 <table class='jd-tagtable'><tbody> 1583 <tr><th>m</th><td>mesh to get data from</td></tr> 1584 <tr><th>index</th><td>index of the vertex allocation</td></tr> 1585 </tbody></table> 1586 </div> 1587 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Returns</h5> 1588 <table class='jd-tagtable'><tbody> 1589 <tr><td>allocation containing vertex data</td></tr> 1590 </tbody></table> 1591 </div> 1592 <div class='jd-tagdata jd-tagdescr'> 1593 <p><b>Deprecated.</b> Do not use.</p> 1594 <p> Returns an allocation that is part of the mesh and contains 1595 vertex data, e.g. positions, normals, texcoords 1596 </p> 1597 </div> 1598 </div> 1599 1600 <a name='android_rs:rsgMeshGetVertexAllocationCount'></a> 1601 <div class='jd-details'> 1602 <h4 class='jd-details-title'> 1603 <span class='sympad'>rsgMeshGetVertexAllocationCount</span> 1604 <span class='normal'>: Return the number of vertex allocations</span> 1605 </h4> 1606 <div class='jd-details-descr'> 1607 <table class='jd-tagtable'><tbody> 1608 <tr> 1609 <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); 1610 </td> 1611 <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> 1612 </td> 1613 </tr> 1614 </tbody></table> 1615 </div> 1616 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1617 <table class='jd-tagtable'><tbody> 1618 <tr><th>m</th><td>mesh to get data from</td></tr> 1619 </tbody></table> 1620 </div> 1621 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Returns</h5> 1622 <table class='jd-tagtable'><tbody> 1623 <tr><td>number of allocations in the mesh that contain vertex data</td></tr> 1624 </tbody></table> 1625 </div> 1626 <div class='jd-tagdata jd-tagdescr'> 1627 <p><b>Deprecated.</b> Do not use.</p> 1628 <p> Returns the number of allocations in the mesh that contain 1629 vertex data 1630 </p> 1631 </div> 1632 </div> 1633 1634 <a name='android_rs:rsgProgramFragmentConstantColor'></a> 1635 <div class='jd-details'> 1636 <h4 class='jd-details-title'> 1637 <span class='sympad'>rsgProgramFragmentConstantColor</span> 1638 <span class='normal'>: Set the constant color for a fixed function emulation program</span> 1639 </h4> 1640 <div class='jd-details-descr'> 1641 <table class='jd-tagtable'><tbody> 1642 <tr> 1643 <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); 1644 </td> 1645 <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> 1646 </td> 1647 </tr> 1648 </tbody></table> 1649 </div> 1650 <div class='jd-tagdata jd-tagdescr'> 1651 <p><b>Deprecated.</b> Do not use.</p> 1652 <p> Set the constant color for a fixed function emulation program. 1653 </p> 1654 </div> 1655 </div> 1656 1657 <a name='android_rs:rsgProgramRasterGetCullMode'></a> 1658 <div class='jd-details'> 1659 <h4 class='jd-details-title'> 1660 <span class='sympad'>rsgProgramRasterGetCullMode</span> 1661 <span class='normal'>: Get program raster cull mode</span> 1662 </h4> 1663 <div class='jd-details-descr'> 1664 <table class='jd-tagtable'><tbody> 1665 <tr> 1666 <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); 1667 </td> 1668 <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> 1669 </td> 1670 </tr> 1671 </tbody></table> 1672 </div> 1673 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1674 <table class='jd-tagtable'><tbody> 1675 <tr><th>pr</th><td>program raster to query</td></tr> 1676 </tbody></table> 1677 </div> 1678 <div class='jd-tagdata jd-tagdescr'> 1679 <p><b>Deprecated.</b> Do not use.</p> 1680 <p> Get program raster cull mode 1681 </p> 1682 </div> 1683 </div> 1684 1685 <a name='android_rs:rsgProgramRasterIsPointSpriteEnabled'></a> 1686 <div class='jd-details'> 1687 <h4 class='jd-details-title'> 1688 <span class='sympad'>rsgProgramRasterIsPointSpriteEnabled</span> 1689 <span class='normal'>: Get program raster point sprite state</span> 1690 </h4> 1691 <div class='jd-details-descr'> 1692 <table class='jd-tagtable'><tbody> 1693 <tr> 1694 <td>bool rsgProgramRasterIsPointSpriteEnabled(<a href='rs_graphics.html#android_rs:rs_program_raster'>rs_program_raster</a> pr); 1695 </td> 1696 <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> 1697 </td> 1698 </tr> 1699 </tbody></table> 1700 </div> 1701 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1702 <table class='jd-tagtable'><tbody> 1703 <tr><th>pr</th><td>program raster to query</td></tr> 1704 </tbody></table> 1705 </div> 1706 <div class='jd-tagdata jd-tagdescr'> 1707 <p><b>Deprecated.</b> Do not use.</p> 1708 <p> Get program raster point sprite state 1709 </p> 1710 </div> 1711 </div> 1712 1713 <a name='android_rs:rsgProgramStoreGetBlendDstFunc'></a> 1714 <div class='jd-details'> 1715 <h4 class='jd-details-title'> 1716 <span class='sympad'>rsgProgramStoreGetBlendDstFunc</span> 1717 <span class='normal'>: Get program store blend destination function</span> 1718 </h4> 1719 <div class='jd-details-descr'> 1720 <table class='jd-tagtable'><tbody> 1721 <tr> 1722 <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); 1723 </td> 1724 <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> 1725 </td> 1726 </tr> 1727 </tbody></table> 1728 </div> 1729 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1730 <table class='jd-tagtable'><tbody> 1731 <tr><th>ps</th><td>program store to query</td></tr> 1732 </tbody></table> 1733 </div> 1734 <div class='jd-tagdata jd-tagdescr'> 1735 <p><b>Deprecated.</b> Do not use.</p> 1736 <p> Get program store blend destination function 1737 </p> 1738 </div> 1739 </div> 1740 1741 <a name='android_rs:rsgProgramStoreGetBlendSrcFunc'></a> 1742 <div class='jd-details'> 1743 <h4 class='jd-details-title'> 1744 <span class='sympad'>rsgProgramStoreGetBlendSrcFunc</span> 1745 <span class='normal'>: Get program store blend source function</span> 1746 </h4> 1747 <div class='jd-details-descr'> 1748 <table class='jd-tagtable'><tbody> 1749 <tr> 1750 <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); 1751 </td> 1752 <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> 1753 </td> 1754 </tr> 1755 </tbody></table> 1756 </div> 1757 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1758 <table class='jd-tagtable'><tbody> 1759 <tr><th>ps</th><td>program store to query</td></tr> 1760 </tbody></table> 1761 </div> 1762 <div class='jd-tagdata jd-tagdescr'> 1763 <p><b>Deprecated.</b> Do not use.</p> 1764 <p> Get program store blend source function 1765 </p> 1766 </div> 1767 </div> 1768 1769 <a name='android_rs:rsgProgramStoreGetDepthFunc'></a> 1770 <div class='jd-details'> 1771 <h4 class='jd-details-title'> 1772 <span class='sympad'>rsgProgramStoreGetDepthFunc</span> 1773 <span class='normal'>: Get program store depth function</span> 1774 </h4> 1775 <div class='jd-details-descr'> 1776 <table class='jd-tagtable'><tbody> 1777 <tr> 1778 <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); 1779 </td> 1780 <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> 1781 </td> 1782 </tr> 1783 </tbody></table> 1784 </div> 1785 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1786 <table class='jd-tagtable'><tbody> 1787 <tr><th>ps</th><td>program store to query</td></tr> 1788 </tbody></table> 1789 </div> 1790 <div class='jd-tagdata jd-tagdescr'> 1791 <p><b>Deprecated.</b> Do not use.</p> 1792 <p> Get program store depth function 1793 </p> 1794 </div> 1795 </div> 1796 1797 <a name='android_rs:rsgProgramStoreIsColorMaskAlphaEnabled'></a> 1798 <div class='jd-details'> 1799 <h4 class='jd-details-title'> 1800 <span class='sympad'>rsgProgramStoreIsColorMaskAlphaEnabled</span> 1801 <span class='normal'>: Get program store alpha component color mask</span> 1802 </h4> 1803 <div class='jd-details-descr'> 1804 <table class='jd-tagtable'><tbody> 1805 <tr> 1806 <td>bool rsgProgramStoreIsColorMaskAlphaEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps); 1807 </td> 1808 <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> 1809 </td> 1810 </tr> 1811 </tbody></table> 1812 </div> 1813 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1814 <table class='jd-tagtable'><tbody> 1815 <tr><th>ps</th><td>program store to query</td></tr> 1816 </tbody></table> 1817 </div> 1818 <div class='jd-tagdata jd-tagdescr'> 1819 <p><b>Deprecated.</b> Do not use.</p> 1820 <p> Get program store alpha component color mask 1821 </p> 1822 </div> 1823 </div> 1824 1825 <a name='android_rs:rsgProgramStoreIsColorMaskBlueEnabled'></a> 1826 <div class='jd-details'> 1827 <h4 class='jd-details-title'> 1828 <span class='sympad'>rsgProgramStoreIsColorMaskBlueEnabled</span> 1829 <span class='normal'>: Get program store blur component color mask</span> 1830 </h4> 1831 <div class='jd-details-descr'> 1832 <table class='jd-tagtable'><tbody> 1833 <tr> 1834 <td>bool rsgProgramStoreIsColorMaskBlueEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps); 1835 </td> 1836 <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> 1837 </td> 1838 </tr> 1839 </tbody></table> 1840 </div> 1841 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1842 <table class='jd-tagtable'><tbody> 1843 <tr><th>ps</th><td>program store to query</td></tr> 1844 </tbody></table> 1845 </div> 1846 <div class='jd-tagdata jd-tagdescr'> 1847 <p><b>Deprecated.</b> Do not use.</p> 1848 <p> Get program store blur component color mask 1849 </p> 1850 </div> 1851 </div> 1852 1853 <a name='android_rs:rsgProgramStoreIsColorMaskGreenEnabled'></a> 1854 <div class='jd-details'> 1855 <h4 class='jd-details-title'> 1856 <span class='sympad'>rsgProgramStoreIsColorMaskGreenEnabled</span> 1857 <span class='normal'>: Get program store green component color mask</span> 1858 </h4> 1859 <div class='jd-details-descr'> 1860 <table class='jd-tagtable'><tbody> 1861 <tr> 1862 <td>bool rsgProgramStoreIsColorMaskGreenEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps); 1863 </td> 1864 <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> 1865 </td> 1866 </tr> 1867 </tbody></table> 1868 </div> 1869 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1870 <table class='jd-tagtable'><tbody> 1871 <tr><th>ps</th><td>program store to query</td></tr> 1872 </tbody></table> 1873 </div> 1874 <div class='jd-tagdata jd-tagdescr'> 1875 <p><b>Deprecated.</b> Do not use.</p> 1876 <p> Get program store green component color mask 1877 </p> 1878 </div> 1879 </div> 1880 1881 <a name='android_rs:rsgProgramStoreIsColorMaskRedEnabled'></a> 1882 <div class='jd-details'> 1883 <h4 class='jd-details-title'> 1884 <span class='sympad'>rsgProgramStoreIsColorMaskRedEnabled</span> 1885 <span class='normal'>: Get program store red component color mask</span> 1886 </h4> 1887 <div class='jd-details-descr'> 1888 <table class='jd-tagtable'><tbody> 1889 <tr> 1890 <td>bool rsgProgramStoreIsColorMaskRedEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps); 1891 </td> 1892 <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> 1893 </td> 1894 </tr> 1895 </tbody></table> 1896 </div> 1897 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1898 <table class='jd-tagtable'><tbody> 1899 <tr><th>ps</th><td>program store to query</td></tr> 1900 </tbody></table> 1901 </div> 1902 <div class='jd-tagdata jd-tagdescr'> 1903 <p><b>Deprecated.</b> Do not use.</p> 1904 <p> Get program store red component color mask 1905 </p> 1906 </div> 1907 </div> 1908 1909 <a name='android_rs:rsgProgramStoreIsDepthMaskEnabled'></a> 1910 <div class='jd-details'> 1911 <h4 class='jd-details-title'> 1912 <span class='sympad'>rsgProgramStoreIsDepthMaskEnabled</span> 1913 <span class='normal'>: Get program store depth mask</span> 1914 </h4> 1915 <div class='jd-details-descr'> 1916 <table class='jd-tagtable'><tbody> 1917 <tr> 1918 <td>bool rsgProgramStoreIsDepthMaskEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps); 1919 </td> 1920 <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> 1921 </td> 1922 </tr> 1923 </tbody></table> 1924 </div> 1925 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1926 <table class='jd-tagtable'><tbody> 1927 <tr><th>ps</th><td>program store to query</td></tr> 1928 </tbody></table> 1929 </div> 1930 <div class='jd-tagdata jd-tagdescr'> 1931 <p><b>Deprecated.</b> Do not use.</p> 1932 <p> Get program store depth mask 1933 </p> 1934 </div> 1935 </div> 1936 1937 <a name='android_rs:rsgProgramStoreIsDitherEnabled'></a> 1938 <div class='jd-details'> 1939 <h4 class='jd-details-title'> 1940 <span class='sympad'>rsgProgramStoreIsDitherEnabled</span> 1941 <span class='normal'>: Get program store dither state</span> 1942 </h4> 1943 <div class='jd-details-descr'> 1944 <table class='jd-tagtable'><tbody> 1945 <tr> 1946 <td>bool rsgProgramStoreIsDitherEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps); 1947 </td> 1948 <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> 1949 </td> 1950 </tr> 1951 </tbody></table> 1952 </div> 1953 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1954 <table class='jd-tagtable'><tbody> 1955 <tr><th>ps</th><td>program store to query</td></tr> 1956 </tbody></table> 1957 </div> 1958 <div class='jd-tagdata jd-tagdescr'> 1959 <p><b>Deprecated.</b> Do not use.</p> 1960 <p> Get program store dither state 1961 </p> 1962 </div> 1963 </div> 1964 1965 <a name='android_rs:rsgProgramVertexGetProjectionMatrix'></a> 1966 <div class='jd-details'> 1967 <h4 class='jd-details-title'> 1968 <span class='sympad'>rsgProgramVertexGetProjectionMatrix</span> 1969 <span class='normal'>: Get the projection matrix for a fixed function vertex program</span> 1970 </h4> 1971 <div class='jd-details-descr'> 1972 <table class='jd-tagtable'><tbody> 1973 <tr> 1974 <td>void rsgProgramVertexGetProjectionMatrix(<a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* proj); 1975 </td> 1976 <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> 1977 </td> 1978 </tr> 1979 </tbody></table> 1980 </div> 1981 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1982 <table class='jd-tagtable'><tbody> 1983 <tr><th>proj</th><td>matrix to store the current projection matrix into</td></tr> 1984 </tbody></table> 1985 </div> 1986 <div class='jd-tagdata jd-tagdescr'> 1987 <p><b>Deprecated.</b> Do not use.</p> 1988 <p> Get the projection matrix for a currently bound fixed function 1989 vertex program. Calling this function with a custom vertex shader 1990 would result in an error. 1991 </p> 1992 </div> 1993 </div> 1994 1995 <a name='android_rs:rsgProgramVertexLoadModelMatrix'></a> 1996 <div class='jd-details'> 1997 <h4 class='jd-details-title'> 1998 <span class='sympad'>rsgProgramVertexLoadModelMatrix</span> 1999 <span class='normal'>: Load the model matrix for a bound fixed function vertex program</span> 2000 </h4> 2001 <div class='jd-details-descr'> 2002 <table class='jd-tagtable'><tbody> 2003 <tr> 2004 <td>void rsgProgramVertexLoadModelMatrix(const <a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* model); 2005 </td> 2006 <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> 2007 </td> 2008 </tr> 2009 </tbody></table> 2010 </div> 2011 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 2012 <table class='jd-tagtable'><tbody> 2013 <tr><th>model</th><td>model matrix</td></tr> 2014 </tbody></table> 2015 </div> 2016 <div class='jd-tagdata jd-tagdescr'> 2017 <p><b>Deprecated.</b> Do not use.</p> 2018 <p> Load the model matrix for a currently bound fixed function 2019 vertex program. Calling this function with a custom vertex shader 2020 would result in an error. 2021 </p> 2022 </div> 2023 </div> 2024 2025 <a name='android_rs:rsgProgramVertexLoadProjectionMatrix'></a> 2026 <div class='jd-details'> 2027 <h4 class='jd-details-title'> 2028 <span class='sympad'>rsgProgramVertexLoadProjectionMatrix</span> 2029 <span class='normal'>: Load the projection matrix for a bound fixed function vertex program</span> 2030 </h4> 2031 <div class='jd-details-descr'> 2032 <table class='jd-tagtable'><tbody> 2033 <tr> 2034 <td>void rsgProgramVertexLoadProjectionMatrix(const <a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* proj); 2035 </td> 2036 <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> 2037 </td> 2038 </tr> 2039 </tbody></table> 2040 </div> 2041 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 2042 <table class='jd-tagtable'><tbody> 2043 <tr><th>proj</th><td>projection matrix</td></tr> 2044 </tbody></table> 2045 </div> 2046 <div class='jd-tagdata jd-tagdescr'> 2047 <p><b>Deprecated.</b> Do not use.</p> 2048 <p> Load the projection matrix for a currently bound fixed function 2049 vertex program. Calling this function with a custom vertex shader 2050 would result in an error. 2051 </p> 2052 </div> 2053 </div> 2054 2055 <a name='android_rs:rsgProgramVertexLoadTextureMatrix'></a> 2056 <div class='jd-details'> 2057 <h4 class='jd-details-title'> 2058 <span class='sympad'>rsgProgramVertexLoadTextureMatrix</span> 2059 <span class='normal'>: Load the texture matrix for a bound fixed function vertex program</span> 2060 </h4> 2061 <div class='jd-details-descr'> 2062 <table class='jd-tagtable'><tbody> 2063 <tr> 2064 <td>void rsgProgramVertexLoadTextureMatrix(const <a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* tex); 2065 </td> 2066 <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> 2067 </td> 2068 </tr> 2069 </tbody></table> 2070 </div> 2071 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 2072 <table class='jd-tagtable'><tbody> 2073 <tr><th>tex</th><td>texture matrix</td></tr> 2074 </tbody></table> 2075 </div> 2076 <div class='jd-tagdata jd-tagdescr'> 2077 <p><b>Deprecated.</b> Do not use.</p> 2078 <p> Load the texture matrix for a currently bound fixed function 2079 vertex program. Calling this function with a custom vertex shader 2080 would result in an error. 2081 </p> 2082 </div> 2083 </div> 2084 2085 </div> 2086