1page.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 590depth 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>A typedef of: _RS_HANDLE __attribute__(( 603#if (defined(RS_VERSION) && (RS_VERSION >= 1)) 604deprecated 605#endif 606)) 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> 607</p> 608 <p><b>Deprecated.</b> Do not use.</p> 609<p> Opaque handle to a RenderScript font object. 610See: android.renderscript.Font 611</p> 612 </div> 613</div> 614 615<a name='android_rs:rs_mesh'></a> 616<div class='jd-details'> 617 <h4 class='jd-details-title'> 618 <span class='sympad'>rs_mesh</span> 619 <span class='normal'>: Handle to a Mesh</span> 620 </h4> 621 <div class='jd-details-descr'> 622<p>A typedef of: _RS_HANDLE __attribute__(( 623#if (defined(RS_VERSION) && (RS_VERSION >= 1)) 624deprecated 625#endif 626)) 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> 627</p> 628 <p><b>Deprecated.</b> Do not use.</p> 629<p> Opaque handle to a RenderScript mesh object. 630See: android.renderscript.Mesh 631</p> 632 </div> 633</div> 634 635<a name='android_rs:rs_primitive'></a> 636<div class='jd-details'> 637 <h4 class='jd-details-title'> 638 <span class='sympad'>rs_primitive</span> 639 <span class='normal'>: How to intepret mesh vertex data</span> 640 </h4> 641 <div class='jd-details-descr'> 642<p>An enum with the following values: 643 When compiling for 32 bits. <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 16 - 22</a> 644</p> 645 <table class='jd-tagtable'><tbody> 646 <tr><th>RS_PRIMITIVE_POINT = 0</th><td>Vertex data will be rendered as a series of points</td></tr> 647 <tr><th>RS_PRIMITIVE_LINE = 1</th><td>Vertex pairs will be rendered as lines</td></tr> 648 <tr><th>RS_PRIMITIVE_LINE_STRIP = 2</th><td>Vertex data will be rendered as a connected line strip</td></tr> 649 <tr><th>RS_PRIMITIVE_TRIANGLE = 3</th><td>Vertices will be rendered as individual triangles</td></tr> 650 <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> 651 <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> 652 <tr><th>RS_PRIMITIVE_INVALID = 100</th><td>Invalid primitive</td></tr> 653 </tbody></table><br/> 654 <p><b>Deprecated.</b> Do not use.</p> 655<p> Describes the way mesh vertex data is interpreted when rendering 656</p> 657 </div> 658</div> 659 660<a name='android_rs:rs_program_fragment'></a> 661<div class='jd-details'> 662 <h4 class='jd-details-title'> 663 <span class='sympad'>rs_program_fragment</span> 664 <span class='normal'>: Handle to a ProgramFragment</span> 665 </h4> 666 <div class='jd-details-descr'> 667<p>A typedef of: _RS_HANDLE __attribute__(( 668#if (defined(RS_VERSION) && (RS_VERSION >= 1)) 669deprecated 670#endif 671)) 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> 672</p> 673 <p><b>Deprecated.</b> Do not use.</p> 674<p> Opaque handle to a RenderScript ProgramFragment object. 675See: android.renderscript.ProgramFragment 676</p> 677 </div> 678</div> 679 680<a name='android_rs:rs_program_raster'></a> 681<div class='jd-details'> 682 <h4 class='jd-details-title'> 683 <span class='sympad'>rs_program_raster</span> 684 <span class='normal'>: Handle to a ProgramRaster</span> 685 </h4> 686 <div class='jd-details-descr'> 687<p>A typedef of: _RS_HANDLE __attribute__(( 688#if (defined(RS_VERSION) && (RS_VERSION >= 1)) 689deprecated 690#endif 691)) 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 ProgramRaster object. 695See: android.renderscript.ProgramRaster 696</p> 697 </div> 698</div> 699 700<a name='android_rs:rs_program_store'></a> 701<div class='jd-details'> 702 <h4 class='jd-details-title'> 703 <span class='sympad'>rs_program_store</span> 704 <span class='normal'>: Handle to a ProgramStore</span> 705 </h4> 706 <div class='jd-details-descr'> 707<p>A typedef of: _RS_HANDLE __attribute__(( 708#if (defined(RS_VERSION) && (RS_VERSION >= 1)) 709deprecated 710#endif 711)) 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> 712</p> 713 <p><b>Deprecated.</b> Do not use.</p> 714<p> Opaque handle to a RenderScript ProgramStore object. 715See: android.renderscript.ProgramStore 716</p> 717 </div> 718</div> 719 720<a name='android_rs:rs_program_vertex'></a> 721<div class='jd-details'> 722 <h4 class='jd-details-title'> 723 <span class='sympad'>rs_program_vertex</span> 724 <span class='normal'>: Handle to a ProgramVertex</span> 725 </h4> 726 <div class='jd-details-descr'> 727<p>A typedef of: _RS_HANDLE __attribute__(( 728#if (defined(RS_VERSION) && (RS_VERSION >= 1)) 729deprecated 730#endif 731)) 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> 732</p> 733 <p><b>Deprecated.</b> Do not use.</p> 734<p> Opaque handle to a RenderScript ProgramVertex object. 735See: android.renderscript.ProgramVertex 736</p> 737 </div> 738</div> 739 740<h2>Functions</h2> 741<a name='android_rs:rsgAllocationSyncAll'></a> 742<div class='jd-details'> 743 <h4 class='jd-details-title'> 744 <span class='sympad'>rsgAllocationSyncAll</span> 745 <span class='normal'>: Sync the contents of an allocation</span> 746 </h4> 747 <div class='jd-details-descr'> 748 <table class='jd-tagtable'><tbody> 749 <tr> 750 <td>void rsgAllocationSyncAll(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> alloc); 751</td> 752 <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> 753 </td> 754 </tr> 755 <tr> 756 <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); 757</td> 758 <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> 759 </td> 760 </tr> 761 </tbody></table> 762 </div> 763 <div class='jd-tagdata jd-tagdescr'> 764 <p><b>Deprecated.</b> Do not use.</p> 765<p> Sync the contents of an allocation. 766</p> 767 768<p> If the source is specified, sync from memory space specified by source. 769</p> 770 771<p> If the source is not specified, sync from its SCRIPT memory space to its HW 772memory spaces. 773</p> 774 </div> 775</div> 776 777<a name='android_rs:rsgBindColorTarget'></a> 778<div class='jd-details'> 779 <h4 class='jd-details-title'> 780 <span class='sympad'>rsgBindColorTarget</span> 781 <span class='normal'>: Set the color target</span> 782 </h4> 783 <div class='jd-details-descr'> 784 <table class='jd-tagtable'><tbody> 785 <tr> 786 <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); 787</td> 788 <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> 789 </td> 790 </tr> 791 </tbody></table> 792 </div> 793 <div class='jd-tagdata jd-tagdescr'> 794 <p><b>Deprecated.</b> Do not use.</p> 795<p> Set the color target used for all subsequent rendering calls 796</p> 797 </div> 798</div> 799 800<a name='android_rs:rsgBindConstant'></a> 801<div class='jd-details'> 802 <h4 class='jd-details-title'> 803 <span class='sympad'>rsgBindConstant</span> 804 <span class='normal'>: Bind a constant allocation</span> 805 </h4> 806 <div class='jd-details-descr'> 807 <table class='jd-tagtable'><tbody> 808 <tr> 809 <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); 810</td> 811 <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> 812 </td> 813 </tr> 814 <tr> 815 <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); 816</td> 817 <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> 818 </td> 819 </tr> 820 </tbody></table> 821 </div> 822 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 823 <table class='jd-tagtable'><tbody> 824 <tr><th>ps</th><td>program fragment object</td></tr> 825 <tr><th>slot</th><td>index of the constant buffer on the program</td></tr> 826 <tr><th>c</th><td>constants to bind</td></tr> 827 <tr><th>pv</th><td>program vertex object</td></tr> 828 </tbody></table> 829 </div> 830 <div class='jd-tagdata jd-tagdescr'> 831 <p><b>Deprecated.</b> Do not use.</p> 832<p> Bind a new Allocation object to a ProgramFragment or ProgramVertex. 833The Allocation must be a valid constant input for the Program. 834</p> 835 </div> 836</div> 837 838<a name='android_rs:rsgBindDepthTarget'></a> 839<div class='jd-details'> 840 <h4 class='jd-details-title'> 841 <span class='sympad'>rsgBindDepthTarget</span> 842 <span class='normal'>: Set the depth target</span> 843 </h4> 844 <div class='jd-details-descr'> 845 <table class='jd-tagtable'><tbody> 846 <tr> 847 <td>void rsgBindDepthTarget(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> depthTarget); 848</td> 849 <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> 850 </td> 851 </tr> 852 </tbody></table> 853 </div> 854 <div class='jd-tagdata jd-tagdescr'> 855 <p><b>Deprecated.</b> Do not use.</p> 856<p> Set the depth target used for all subsequent rendering calls 857</p> 858 </div> 859</div> 860 861<a name='android_rs:rsgBindFont'></a> 862<div class='jd-details'> 863 <h4 class='jd-details-title'> 864 <span class='sympad'>rsgBindFont</span> 865 <span class='normal'>: Bind a font object</span> 866 </h4> 867 <div class='jd-details-descr'> 868 <table class='jd-tagtable'><tbody> 869 <tr> 870 <td>void rsgBindFont(<a href='rs_graphics.html#android_rs:rs_font'>rs_font</a> font); 871</td> 872 <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> 873 </td> 874 </tr> 875 </tbody></table> 876 </div> 877 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 878 <table class='jd-tagtable'><tbody> 879 <tr><th>font</th><td>object to bind</td></tr> 880 </tbody></table> 881 </div> 882 <div class='jd-tagdata jd-tagdescr'> 883 <p><b>Deprecated.</b> Do not use.</p> 884<p> Binds the font object to be used for all subsequent font rendering calls 885</p> 886 </div> 887</div> 888 889<a name='android_rs:rsgBindProgramFragment'></a> 890<div class='jd-details'> 891 <h4 class='jd-details-title'> 892 <span class='sympad'>rsgBindProgramFragment</span> 893 <span class='normal'>: Bind a ProgramFragment</span> 894 </h4> 895 <div class='jd-details-descr'> 896 <table class='jd-tagtable'><tbody> 897 <tr> 898 <td>void rsgBindProgramFragment(<a href='rs_graphics.html#android_rs:rs_program_fragment'>rs_program_fragment</a> pf); 899</td> 900 <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> 901 </td> 902 </tr> 903 </tbody></table> 904 </div> 905 <div class='jd-tagdata jd-tagdescr'> 906 <p><b>Deprecated.</b> Do not use.</p> 907<p> Bind a new ProgramFragment to the rendering context. 908</p> 909 </div> 910</div> 911 912<a name='android_rs:rsgBindProgramRaster'></a> 913<div class='jd-details'> 914 <h4 class='jd-details-title'> 915 <span class='sympad'>rsgBindProgramRaster</span> 916 <span class='normal'>: Bind a ProgramRaster</span> 917 </h4> 918 <div class='jd-details-descr'> 919 <table class='jd-tagtable'><tbody> 920 <tr> 921 <td>void rsgBindProgramRaster(<a href='rs_graphics.html#android_rs:rs_program_raster'>rs_program_raster</a> pr); 922</td> 923 <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> 924 </td> 925 </tr> 926 </tbody></table> 927 </div> 928 <div class='jd-tagdata jd-tagdescr'> 929 <p><b>Deprecated.</b> Do not use.</p> 930<p> Bind a new ProgramRaster to the rendering context. 931</p> 932 </div> 933</div> 934 935<a name='android_rs:rsgBindProgramStore'></a> 936<div class='jd-details'> 937 <h4 class='jd-details-title'> 938 <span class='sympad'>rsgBindProgramStore</span> 939 <span class='normal'>: Bind a ProgramStore</span> 940 </h4> 941 <div class='jd-details-descr'> 942 <table class='jd-tagtable'><tbody> 943 <tr> 944 <td>void rsgBindProgramStore(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps); 945</td> 946 <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> 947 </td> 948 </tr> 949 </tbody></table> 950 </div> 951 <div class='jd-tagdata jd-tagdescr'> 952 <p><b>Deprecated.</b> Do not use.</p> 953<p> Bind a new ProgramStore to the rendering context. 954</p> 955 </div> 956</div> 957 958<a name='android_rs:rsgBindProgramVertex'></a> 959<div class='jd-details'> 960 <h4 class='jd-details-title'> 961 <span class='sympad'>rsgBindProgramVertex</span> 962 <span class='normal'>: Bind a ProgramVertex</span> 963 </h4> 964 <div class='jd-details-descr'> 965 <table class='jd-tagtable'><tbody> 966 <tr> 967 <td>void rsgBindProgramVertex(<a href='rs_graphics.html#android_rs:rs_program_vertex'>rs_program_vertex</a> pv); 968</td> 969 <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> 970 </td> 971 </tr> 972 </tbody></table> 973 </div> 974 <div class='jd-tagdata jd-tagdescr'> 975 <p><b>Deprecated.</b> Do not use.</p> 976<p> Bind a new ProgramVertex to the rendering context. 977</p> 978 </div> 979</div> 980 981<a name='android_rs:rsgBindSampler'></a> 982<div class='jd-details'> 983 <h4 class='jd-details-title'> 984 <span class='sympad'>rsgBindSampler</span> 985 <span class='normal'>: Bind a sampler</span> 986 </h4> 987 <div class='jd-details-descr'> 988 <table class='jd-tagtable'><tbody> 989 <tr> 990 <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); 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 Sampler object to a ProgramFragment. The sampler will 1000operate on the texture bound at the matching slot. 1001</p> 1002 </div> 1003</div> 1004 1005<a name='android_rs:rsgBindTexture'></a> 1006<div class='jd-details'> 1007 <h4 class='jd-details-title'> 1008 <span class='sympad'>rsgBindTexture</span> 1009 <span class='normal'>: Bind a texture allocation</span> 1010 </h4> 1011 <div class='jd-details-descr'> 1012 <table class='jd-tagtable'><tbody> 1013 <tr> 1014 <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); 1015</td> 1016 <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> 1017 </td> 1018 </tr> 1019 </tbody></table> 1020 </div> 1021 <div class='jd-tagdata jd-tagdescr'> 1022 <p><b>Deprecated.</b> Do not use.</p> 1023<p> Bind a new Allocation object to a ProgramFragment. The 1024Allocation must be a valid texture for the Program. The sampling 1025of the texture will be controled by the Sampler bound at the 1026matching slot. 1027</p> 1028 </div> 1029</div> 1030 1031<a name='android_rs:rsgClearAllRenderTargets'></a> 1032<div class='jd-details'> 1033 <h4 class='jd-details-title'> 1034 <span class='sympad'>rsgClearAllRenderTargets</span> 1035 <span class='normal'>: Clear all color and depth targets</span> 1036 </h4> 1037 <div class='jd-details-descr'> 1038 <table class='jd-tagtable'><tbody> 1039 <tr> 1040 <td>void rsgClearAllRenderTargets(); 1041</td> 1042 <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> 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> Clear all color and depth targets and resume rendering into 1050the framebuffer 1051</p> 1052 </div> 1053</div> 1054 1055<a name='android_rs:rsgClearColor'></a> 1056<div class='jd-details'> 1057 <h4 class='jd-details-title'> 1058 <span class='sympad'>rsgClearColor</span> 1059 <span class='normal'>: Clear the specified color from the surface</span> 1060 </h4> 1061 <div class='jd-details-descr'> 1062 <table class='jd-tagtable'><tbody> 1063 <tr> 1064 <td>void rsgClearColor(float r, float g, float b, float a); 1065</td> 1066 <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> 1067 </td> 1068 </tr> 1069 </tbody></table> 1070 </div> 1071 <div class='jd-tagdata jd-tagdescr'> 1072 <p><b>Deprecated.</b> Do not use.</p> 1073<p> Clears the rendering surface to the specified color. 1074</p> 1075 </div> 1076</div> 1077 1078<a name='android_rs:rsgClearColorTarget'></a> 1079<div class='jd-details'> 1080 <h4 class='jd-details-title'> 1081 <span class='sympad'>rsgClearColorTarget</span> 1082 <span class='normal'>: Clear the color target</span> 1083 </h4> 1084 <div class='jd-details-descr'> 1085 <table class='jd-tagtable'><tbody> 1086 <tr> 1087 <td>void rsgClearColorTarget(<a href='rs_value_types.html#android_rs:uint'>uint</a> slot); 1088</td> 1089 <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> 1090 </td> 1091 </tr> 1092 </tbody></table> 1093 </div> 1094 <div class='jd-tagdata jd-tagdescr'> 1095 <p><b>Deprecated.</b> Do not use.</p> 1096<p> Clear the previously set color target 1097</p> 1098 </div> 1099</div> 1100 1101<a name='android_rs:rsgClearDepth'></a> 1102<div class='jd-details'> 1103 <h4 class='jd-details-title'> 1104 <span class='sympad'>rsgClearDepth</span> 1105 <span class='normal'>: Clear the depth surface</span> 1106 </h4> 1107 <div class='jd-details-descr'> 1108 <table class='jd-tagtable'><tbody> 1109 <tr> 1110 <td>void rsgClearDepth(float value); 1111</td> 1112 <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> 1113 </td> 1114 </tr> 1115 </tbody></table> 1116 </div> 1117 <div class='jd-tagdata jd-tagdescr'> 1118 <p><b>Deprecated.</b> Do not use.</p> 1119<p> Clears the depth suface to the specified value. 1120</p> 1121 </div> 1122</div> 1123 1124<a name='android_rs:rsgClearDepthTarget'></a> 1125<div class='jd-details'> 1126 <h4 class='jd-details-title'> 1127 <span class='sympad'>rsgClearDepthTarget</span> 1128 <span class='normal'>: Clear the depth target</span> 1129 </h4> 1130 <div class='jd-details-descr'> 1131 <table class='jd-tagtable'><tbody> 1132 <tr> 1133 <td>void rsgClearDepthTarget(); 1134</td> 1135 <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> 1136 </td> 1137 </tr> 1138 </tbody></table> 1139 </div> 1140 <div class='jd-tagdata jd-tagdescr'> 1141 <p><b>Deprecated.</b> Do not use.</p> 1142<p> Clear the previously set depth target 1143</p> 1144 </div> 1145</div> 1146 1147<a name='android_rs:rsgDrawMesh'></a> 1148<div class='jd-details'> 1149 <h4 class='jd-details-title'> 1150 <span class='sympad'>rsgDrawMesh</span> 1151 <span class='normal'>: Draw a mesh</span> 1152 </h4> 1153 <div class='jd-details-descr'> 1154 <table class='jd-tagtable'><tbody> 1155 <tr> 1156 <td>void rsgDrawMesh(<a href='rs_graphics.html#android_rs:rs_mesh'>rs_mesh</a> ism); 1157</td> 1158 <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> 1159 </td> 1160 </tr> 1161 <tr> 1162 <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); 1163</td> 1164 <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> 1165 </td> 1166 </tr> 1167 <tr> 1168 <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); 1169</td> 1170 <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> 1171 </td> 1172 </tr> 1173 </tbody></table> 1174 </div> 1175 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1176 <table class='jd-tagtable'><tbody> 1177 <tr><th>ism</th><td>mesh object to render</td></tr> 1178 <tr><th>primitiveIndex</th><td>for meshes that contain multiple primitive groups this parameter specifies the index of the group to draw.</td></tr> 1179 <tr><th>start</th><td>starting index in the range</td></tr> 1180 <tr><th>len</th><td>number of indices to draw</td></tr> 1181 </tbody></table> 1182 </div> 1183 <div class='jd-tagdata jd-tagdescr'> 1184 <p><b>Deprecated.</b> Do not use.</p> 1185<p> Draw a mesh using the current context state. 1186</p> 1187 1188<p> If primitiveIndex is specified, draw part of a mesh using the current context state. 1189</p> 1190 1191<p> If start and len are also specified, draw specified index range of part of a mesh using the current context state. 1192</p> 1193 1194<p> Otherwise the whole mesh is rendered. 1195</p> 1196 </div> 1197</div> 1198 1199<a name='android_rs:rsgDrawQuad'></a> 1200<div class='jd-details'> 1201 <h4 class='jd-details-title'> 1202 <span class='sympad'>rsgDrawQuad</span> 1203 <span class='normal'>: Draw a quad</span> 1204 </h4> 1205 <div class='jd-details-descr'> 1206 <table class='jd-tagtable'><tbody> 1207 <tr> 1208 <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); 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 simple quad. Not intended for 1218drawing large quantities of geometry. 1219</p> 1220 </div> 1221</div> 1222 1223<a name='android_rs:rsgDrawQuadTexCoords'></a> 1224<div class='jd-details'> 1225 <h4 class='jd-details-title'> 1226 <span class='sympad'>rsgDrawQuadTexCoords</span> 1227 <span class='normal'>: Draw a textured quad</span> 1228 </h4> 1229 <div class='jd-details-descr'> 1230 <table class='jd-tagtable'><tbody> 1231 <tr> 1232 <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); 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 textured quad. Not intended 1242for drawing large quantities of geometry. 1243</p> 1244 </div> 1245</div> 1246 1247<a name='android_rs:rsgDrawRect'></a> 1248<div class='jd-details'> 1249 <h4 class='jd-details-title'> 1250 <span class='sympad'>rsgDrawRect</span> 1251 <span class='normal'>: Draw a rectangle</span> 1252 </h4> 1253 <div class='jd-details-descr'> 1254 <table class='jd-tagtable'><tbody> 1255 <tr> 1256 <td>void rsgDrawRect(float x1, float y1, float x2, float y2, float z); 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 utility function for drawing a simple rectangle. Not 1266intended for drawing large quantities of geometry. 1267</p> 1268 </div> 1269</div> 1270 1271<a name='android_rs:rsgDrawSpriteScreenspace'></a> 1272<div class='jd-details'> 1273 <h4 class='jd-details-title'> 1274 <span class='sympad'>rsgDrawSpriteScreenspace</span> 1275 <span class='normal'>: Draw rectangles in screenspace</span> 1276 </h4> 1277 <div class='jd-details-descr'> 1278 <table class='jd-tagtable'><tbody> 1279 <tr> 1280 <td>void rsgDrawSpriteScreenspace(float x, float y, float z, float w, float h); 1281</td> 1282 <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> 1283 </td> 1284 </tr> 1285 </tbody></table> 1286 </div> 1287 <div class='jd-tagdata jd-tagdescr'> 1288 <p><b>Deprecated.</b> Do not use.</p> 1289<p> Low performance function for drawing rectangles in screenspace. This 1290function uses the default passthough ProgramVertex. Any bound ProgramVertex 1291is ignored. This function has considerable overhead and should not be used 1292for drawing in shipping applications. 1293</p> 1294 </div> 1295</div> 1296 1297<a name='android_rs:rsgDrawText'></a> 1298<div class='jd-details'> 1299 <h4 class='jd-details-title'> 1300 <span class='sympad'>rsgDrawText</span> 1301 <span class='normal'>: Draw a text string</span> 1302 </h4> 1303 <div class='jd-details-descr'> 1304 <table class='jd-tagtable'><tbody> 1305 <tr> 1306 <td>void rsgDrawText(const char* text, int x, int y); 1307</td> 1308 <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> 1309 </td> 1310 </tr> 1311 <tr> 1312 <td>void rsgDrawText(<a href='rs_object_types.html#android_rs:rs_allocation'>rs_allocation</a> alloc, int x, int y); 1313</td> 1314 <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> 1315 </td> 1316 </tr> 1317 </tbody></table> 1318 </div> 1319 <div class='jd-tagdata jd-tagdescr'> 1320 <p><b>Deprecated.</b> Do not use.</p> 1321<p> Draws text given a string and location 1322</p> 1323 </div> 1324</div> 1325 1326<a name='android_rs:rsgFinish'></a> 1327<div class='jd-details'> 1328 <h4 class='jd-details-title'> 1329 <span class='sympad'>rsgFinish</span> 1330 <span class='normal'>: End rendering commands</span> 1331 </h4> 1332 <div class='jd-details-descr'> 1333 <table class='jd-tagtable'><tbody> 1334 <tr> 1335 <td><a href='rs_value_types.html#android_rs:uint'>uint</a> rsgFinish(); 1336</td> 1337 <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> 1338 </td> 1339 </tr> 1340 </tbody></table> 1341 </div> 1342 <div class='jd-tagdata jd-tagdescr'> 1343 <p><b>Deprecated.</b> Do not use.</p> 1344<p> Force RenderScript to finish all rendering commands 1345</p> 1346 </div> 1347</div> 1348 1349<a name='android_rs:rsgFontColor'></a> 1350<div class='jd-details'> 1351 <h4 class='jd-details-title'> 1352 <span class='sympad'>rsgFontColor</span> 1353 <span class='normal'>: Set the font color</span> 1354 </h4> 1355 <div class='jd-details-descr'> 1356 <table class='jd-tagtable'><tbody> 1357 <tr> 1358 <td>void rsgFontColor(float r, float g, float b, float a); 1359</td> 1360 <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> 1361 </td> 1362 </tr> 1363 </tbody></table> 1364 </div> 1365 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1366 <table class='jd-tagtable'><tbody> 1367 <tr><th>r</th><td>red component</td></tr> 1368 <tr><th>g</th><td>green component</td></tr> 1369 <tr><th>b</th><td>blue component</td></tr> 1370 <tr><th>a</th><td>alpha component</td></tr> 1371 </tbody></table> 1372 </div> 1373 <div class='jd-tagdata jd-tagdescr'> 1374 <p><b>Deprecated.</b> Do not use.</p> 1375<p> Sets the font color for all subsequent rendering calls 1376</p> 1377 </div> 1378</div> 1379 1380<a name='android_rs:rsgGetHeight'></a> 1381<div class='jd-details'> 1382 <h4 class='jd-details-title'> 1383 <span class='sympad'>rsgGetHeight</span> 1384 <span class='normal'>: Get the surface height</span> 1385 </h4> 1386 <div class='jd-details-descr'> 1387 <table class='jd-tagtable'><tbody> 1388 <tr> 1389 <td><a href='rs_value_types.html#android_rs:uint'>uint</a> rsgGetHeight(); 1390</td> 1391 <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> 1392 </td> 1393 </tr> 1394 </tbody></table> 1395 </div> 1396 <div class='jd-tagdata jd-tagdescr'> 1397 <p><b>Deprecated.</b> Do not use.</p> 1398<p> Get the height of the current rendering surface. 1399</p> 1400 </div> 1401</div> 1402 1403<a name='android_rs:rsgGetWidth'></a> 1404<div class='jd-details'> 1405 <h4 class='jd-details-title'> 1406 <span class='sympad'>rsgGetWidth</span> 1407 <span class='normal'>: Get the surface width</span> 1408 </h4> 1409 <div class='jd-details-descr'> 1410 <table class='jd-tagtable'><tbody> 1411 <tr> 1412 <td><a href='rs_value_types.html#android_rs:uint'>uint</a> rsgGetWidth(); 1413</td> 1414 <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> 1415 </td> 1416 </tr> 1417 </tbody></table> 1418 </div> 1419 <div class='jd-tagdata jd-tagdescr'> 1420 <p><b>Deprecated.</b> Do not use.</p> 1421<p> Get the width of the current rendering surface. 1422</p> 1423 </div> 1424</div> 1425 1426<a name='android_rs:rsgMeasureText'></a> 1427<div class='jd-details'> 1428 <h4 class='jd-details-title'> 1429 <span class='sympad'>rsgMeasureText</span> 1430 <span class='normal'>: Get the bounding box for a text string</span> 1431 </h4> 1432 <div class='jd-details-descr'> 1433 <table class='jd-tagtable'><tbody> 1434 <tr> 1435 <td>void rsgMeasureText(const char* text, int* left, int* right, int* top, int* bottom); 1436</td> 1437 <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> 1438 </td> 1439 </tr> 1440 <tr> 1441 <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); 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 </tbody></table> 1447 </div> 1448 <div class='jd-tagdata jd-tagdescr'> 1449 <p><b>Deprecated.</b> Do not use.</p> 1450<p> Returns the bounding box of the text relative to (0, 0) 1451Any of left, right, top, bottom could be NULL 1452</p> 1453 </div> 1454</div> 1455 1456<a name='android_rs:rsgMeshComputeBoundingBox'></a> 1457<div class='jd-details'> 1458 <h4 class='jd-details-title'> 1459 <span class='sympad'>rsgMeshComputeBoundingBox</span> 1460 <span class='normal'>: Compute a bounding box</span> 1461 </h4> 1462 <div class='jd-details-descr'> 1463 <table class='jd-tagtable'><tbody> 1464 <tr> 1465 <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); 1466</td> 1467 <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> 1468 </td> 1469 </tr> 1470 <tr> 1471 <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); 1472</td> 1473 <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> 1474 </td> 1475 </tr> 1476 </tbody></table> 1477 </div> 1478 <div class='jd-tagdata jd-tagdescr'> 1479 <p><b>Deprecated.</b> Do not use.</p> 1480<p> Computes an axis aligned bounding box of a mesh object 1481</p> 1482 </div> 1483</div> 1484 1485<a name='android_rs:rsgMeshGetIndexAllocation'></a> 1486<div class='jd-details'> 1487 <h4 class='jd-details-title'> 1488 <span class='sympad'>rsgMeshGetIndexAllocation</span> 1489 <span class='normal'>: Return an allocation containing index data</span> 1490 </h4> 1491 <div class='jd-details-descr'> 1492 <table class='jd-tagtable'><tbody> 1493 <tr> 1494 <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); 1495</td> 1496 <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> 1497 </td> 1498 </tr> 1499 </tbody></table> 1500 </div> 1501 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1502 <table class='jd-tagtable'><tbody> 1503 <tr><th>m</th><td>mesh to get data from</td></tr> 1504 <tr><th>index</th><td>index of the index allocation</td></tr> 1505 </tbody></table> 1506 </div> 1507 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Returns</h5> 1508 <table class='jd-tagtable'><tbody> 1509 <tr><td>allocation containing index data</td></tr> 1510 </tbody></table> 1511 </div> 1512 <div class='jd-tagdata jd-tagdescr'> 1513 <p><b>Deprecated.</b> Do not use.</p> 1514<p> Returns an allocation containing index data or a null 1515allocation if only the primitive is specified 1516</p> 1517 </div> 1518</div> 1519 1520<a name='android_rs:rsgMeshGetPrimitive'></a> 1521<div class='jd-details'> 1522 <h4 class='jd-details-title'> 1523 <span class='sympad'>rsgMeshGetPrimitive</span> 1524 <span class='normal'>: Return the primitive</span> 1525 </h4> 1526 <div class='jd-details-descr'> 1527 <table class='jd-tagtable'><tbody> 1528 <tr> 1529 <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); 1530</td> 1531 <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> 1532 </td> 1533 </tr> 1534 </tbody></table> 1535 </div> 1536 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1537 <table class='jd-tagtable'><tbody> 1538 <tr><th>m</th><td>mesh to get data from</td></tr> 1539 <tr><th>index</th><td>index of the primitive</td></tr> 1540 </tbody></table> 1541 </div> 1542 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Returns</h5> 1543 <table class='jd-tagtable'><tbody> 1544 <tr><td>primitive describing how the mesh is rendered</td></tr> 1545 </tbody></table> 1546 </div> 1547 <div class='jd-tagdata jd-tagdescr'> 1548 <p><b>Deprecated.</b> Do not use.</p> 1549<p> Returns the primitive describing how a part of the mesh is 1550rendered 1551</p> 1552 </div> 1553</div> 1554 1555<a name='android_rs:rsgMeshGetPrimitiveCount'></a> 1556<div class='jd-details'> 1557 <h4 class='jd-details-title'> 1558 <span class='sympad'>rsgMeshGetPrimitiveCount</span> 1559 <span class='normal'>: Return the number of index sets</span> 1560 </h4> 1561 <div class='jd-details-descr'> 1562 <table class='jd-tagtable'><tbody> 1563 <tr> 1564 <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); 1565</td> 1566 <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> 1567 </td> 1568 </tr> 1569 </tbody></table> 1570 </div> 1571 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1572 <table class='jd-tagtable'><tbody> 1573 <tr><th>m</th><td>mesh to get data from</td></tr> 1574 </tbody></table> 1575 </div> 1576 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Returns</h5> 1577 <table class='jd-tagtable'><tbody> 1578 <tr><td>number of primitive groups in the mesh. This would include simple primitives as well as allocations containing index data</td></tr> 1579 </tbody></table> 1580 </div> 1581 <div class='jd-tagdata jd-tagdescr'> 1582 <p><b>Deprecated.</b> Do not use.</p> 1583<p> Meshes could have multiple index sets, this function returns 1584the number. 1585</p> 1586 </div> 1587</div> 1588 1589<a name='android_rs:rsgMeshGetVertexAllocation'></a> 1590<div class='jd-details'> 1591 <h4 class='jd-details-title'> 1592 <span class='sympad'>rsgMeshGetVertexAllocation</span> 1593 <span class='normal'>: Return a vertex allocation</span> 1594 </h4> 1595 <div class='jd-details-descr'> 1596 <table class='jd-tagtable'><tbody> 1597 <tr> 1598 <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); 1599</td> 1600 <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> 1601 </td> 1602 </tr> 1603 </tbody></table> 1604 </div> 1605 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1606 <table class='jd-tagtable'><tbody> 1607 <tr><th>m</th><td>mesh to get data from</td></tr> 1608 <tr><th>index</th><td>index of the vertex allocation</td></tr> 1609 </tbody></table> 1610 </div> 1611 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Returns</h5> 1612 <table class='jd-tagtable'><tbody> 1613 <tr><td>allocation containing vertex data</td></tr> 1614 </tbody></table> 1615 </div> 1616 <div class='jd-tagdata jd-tagdescr'> 1617 <p><b>Deprecated.</b> Do not use.</p> 1618<p> Returns an allocation that is part of the mesh and contains 1619vertex data, e.g. positions, normals, texcoords 1620</p> 1621 </div> 1622</div> 1623 1624<a name='android_rs:rsgMeshGetVertexAllocationCount'></a> 1625<div class='jd-details'> 1626 <h4 class='jd-details-title'> 1627 <span class='sympad'>rsgMeshGetVertexAllocationCount</span> 1628 <span class='normal'>: Return the number of vertex allocations</span> 1629 </h4> 1630 <div class='jd-details-descr'> 1631 <table class='jd-tagtable'><tbody> 1632 <tr> 1633 <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); 1634</td> 1635 <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> 1636 </td> 1637 </tr> 1638 </tbody></table> 1639 </div> 1640 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1641 <table class='jd-tagtable'><tbody> 1642 <tr><th>m</th><td>mesh to get data from</td></tr> 1643 </tbody></table> 1644 </div> 1645 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Returns</h5> 1646 <table class='jd-tagtable'><tbody> 1647 <tr><td>number of allocations in the mesh that contain vertex data</td></tr> 1648 </tbody></table> 1649 </div> 1650 <div class='jd-tagdata jd-tagdescr'> 1651 <p><b>Deprecated.</b> Do not use.</p> 1652<p> Returns the number of allocations in the mesh that contain 1653vertex data 1654</p> 1655 </div> 1656</div> 1657 1658<a name='android_rs:rsgProgramFragmentConstantColor'></a> 1659<div class='jd-details'> 1660 <h4 class='jd-details-title'> 1661 <span class='sympad'>rsgProgramFragmentConstantColor</span> 1662 <span class='normal'>: Set the constant color for a fixed function emulation program</span> 1663 </h4> 1664 <div class='jd-details-descr'> 1665 <table class='jd-tagtable'><tbody> 1666 <tr> 1667 <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); 1668</td> 1669 <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> 1670 </td> 1671 </tr> 1672 </tbody></table> 1673 </div> 1674 <div class='jd-tagdata jd-tagdescr'> 1675 <p><b>Deprecated.</b> Do not use.</p> 1676<p> Set the constant color for a fixed function emulation program. 1677</p> 1678 </div> 1679</div> 1680 1681<a name='android_rs:rsgProgramRasterGetCullMode'></a> 1682<div class='jd-details'> 1683 <h4 class='jd-details-title'> 1684 <span class='sympad'>rsgProgramRasterGetCullMode</span> 1685 <span class='normal'>: Get program raster cull mode</span> 1686 </h4> 1687 <div class='jd-details-descr'> 1688 <table class='jd-tagtable'><tbody> 1689 <tr> 1690 <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); 1691</td> 1692 <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> 1693 </td> 1694 </tr> 1695 </tbody></table> 1696 </div> 1697 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1698 <table class='jd-tagtable'><tbody> 1699 <tr><th>pr</th><td>program raster to query</td></tr> 1700 </tbody></table> 1701 </div> 1702 <div class='jd-tagdata jd-tagdescr'> 1703 <p><b>Deprecated.</b> Do not use.</p> 1704<p> Get program raster cull mode 1705</p> 1706 </div> 1707</div> 1708 1709<a name='android_rs:rsgProgramRasterIsPointSpriteEnabled'></a> 1710<div class='jd-details'> 1711 <h4 class='jd-details-title'> 1712 <span class='sympad'>rsgProgramRasterIsPointSpriteEnabled</span> 1713 <span class='normal'>: Get program raster point sprite state</span> 1714 </h4> 1715 <div class='jd-details-descr'> 1716 <table class='jd-tagtable'><tbody> 1717 <tr> 1718 <td>bool rsgProgramRasterIsPointSpriteEnabled(<a href='rs_graphics.html#android_rs:rs_program_raster'>rs_program_raster</a> pr); 1719</td> 1720 <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> 1721 </td> 1722 </tr> 1723 </tbody></table> 1724 </div> 1725 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1726 <table class='jd-tagtable'><tbody> 1727 <tr><th>pr</th><td>program raster to query</td></tr> 1728 </tbody></table> 1729 </div> 1730 <div class='jd-tagdata jd-tagdescr'> 1731 <p><b>Deprecated.</b> Do not use.</p> 1732<p> Get program raster point sprite state 1733</p> 1734 </div> 1735</div> 1736 1737<a name='android_rs:rsgProgramStoreGetBlendDstFunc'></a> 1738<div class='jd-details'> 1739 <h4 class='jd-details-title'> 1740 <span class='sympad'>rsgProgramStoreGetBlendDstFunc</span> 1741 <span class='normal'>: Get program store blend destination function</span> 1742 </h4> 1743 <div class='jd-details-descr'> 1744 <table class='jd-tagtable'><tbody> 1745 <tr> 1746 <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); 1747</td> 1748 <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> 1749 </td> 1750 </tr> 1751 </tbody></table> 1752 </div> 1753 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1754 <table class='jd-tagtable'><tbody> 1755 <tr><th>ps</th><td>program store to query</td></tr> 1756 </tbody></table> 1757 </div> 1758 <div class='jd-tagdata jd-tagdescr'> 1759 <p><b>Deprecated.</b> Do not use.</p> 1760<p> Get program store blend destination function 1761</p> 1762 </div> 1763</div> 1764 1765<a name='android_rs:rsgProgramStoreGetBlendSrcFunc'></a> 1766<div class='jd-details'> 1767 <h4 class='jd-details-title'> 1768 <span class='sympad'>rsgProgramStoreGetBlendSrcFunc</span> 1769 <span class='normal'>: Get program store blend source function</span> 1770 </h4> 1771 <div class='jd-details-descr'> 1772 <table class='jd-tagtable'><tbody> 1773 <tr> 1774 <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); 1775</td> 1776 <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> 1777 </td> 1778 </tr> 1779 </tbody></table> 1780 </div> 1781 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1782 <table class='jd-tagtable'><tbody> 1783 <tr><th>ps</th><td>program store to query</td></tr> 1784 </tbody></table> 1785 </div> 1786 <div class='jd-tagdata jd-tagdescr'> 1787 <p><b>Deprecated.</b> Do not use.</p> 1788<p> Get program store blend source function 1789</p> 1790 </div> 1791</div> 1792 1793<a name='android_rs:rsgProgramStoreGetDepthFunc'></a> 1794<div class='jd-details'> 1795 <h4 class='jd-details-title'> 1796 <span class='sympad'>rsgProgramStoreGetDepthFunc</span> 1797 <span class='normal'>: Get program store depth function</span> 1798 </h4> 1799 <div class='jd-details-descr'> 1800 <table class='jd-tagtable'><tbody> 1801 <tr> 1802 <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); 1803</td> 1804 <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> 1805 </td> 1806 </tr> 1807 </tbody></table> 1808 </div> 1809 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1810 <table class='jd-tagtable'><tbody> 1811 <tr><th>ps</th><td>program store to query</td></tr> 1812 </tbody></table> 1813 </div> 1814 <div class='jd-tagdata jd-tagdescr'> 1815 <p><b>Deprecated.</b> Do not use.</p> 1816<p> Get program store depth function 1817</p> 1818 </div> 1819</div> 1820 1821<a name='android_rs:rsgProgramStoreIsColorMaskAlphaEnabled'></a> 1822<div class='jd-details'> 1823 <h4 class='jd-details-title'> 1824 <span class='sympad'>rsgProgramStoreIsColorMaskAlphaEnabled</span> 1825 <span class='normal'>: Get program store alpha component color mask</span> 1826 </h4> 1827 <div class='jd-details-descr'> 1828 <table class='jd-tagtable'><tbody> 1829 <tr> 1830 <td>bool rsgProgramStoreIsColorMaskAlphaEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps); 1831</td> 1832 <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> 1833 </td> 1834 </tr> 1835 </tbody></table> 1836 </div> 1837 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1838 <table class='jd-tagtable'><tbody> 1839 <tr><th>ps</th><td>program store to query</td></tr> 1840 </tbody></table> 1841 </div> 1842 <div class='jd-tagdata jd-tagdescr'> 1843 <p><b>Deprecated.</b> Do not use.</p> 1844<p> Get program store alpha component color mask 1845</p> 1846 </div> 1847</div> 1848 1849<a name='android_rs:rsgProgramStoreIsColorMaskBlueEnabled'></a> 1850<div class='jd-details'> 1851 <h4 class='jd-details-title'> 1852 <span class='sympad'>rsgProgramStoreIsColorMaskBlueEnabled</span> 1853 <span class='normal'>: Get program store blur component color mask</span> 1854 </h4> 1855 <div class='jd-details-descr'> 1856 <table class='jd-tagtable'><tbody> 1857 <tr> 1858 <td>bool rsgProgramStoreIsColorMaskBlueEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps); 1859</td> 1860 <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> 1861 </td> 1862 </tr> 1863 </tbody></table> 1864 </div> 1865 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1866 <table class='jd-tagtable'><tbody> 1867 <tr><th>ps</th><td>program store to query</td></tr> 1868 </tbody></table> 1869 </div> 1870 <div class='jd-tagdata jd-tagdescr'> 1871 <p><b>Deprecated.</b> Do not use.</p> 1872<p> Get program store blur component color mask 1873</p> 1874 </div> 1875</div> 1876 1877<a name='android_rs:rsgProgramStoreIsColorMaskGreenEnabled'></a> 1878<div class='jd-details'> 1879 <h4 class='jd-details-title'> 1880 <span class='sympad'>rsgProgramStoreIsColorMaskGreenEnabled</span> 1881 <span class='normal'>: Get program store green component color mask</span> 1882 </h4> 1883 <div class='jd-details-descr'> 1884 <table class='jd-tagtable'><tbody> 1885 <tr> 1886 <td>bool rsgProgramStoreIsColorMaskGreenEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps); 1887</td> 1888 <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> 1889 </td> 1890 </tr> 1891 </tbody></table> 1892 </div> 1893 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1894 <table class='jd-tagtable'><tbody> 1895 <tr><th>ps</th><td>program store to query</td></tr> 1896 </tbody></table> 1897 </div> 1898 <div class='jd-tagdata jd-tagdescr'> 1899 <p><b>Deprecated.</b> Do not use.</p> 1900<p> Get program store green component color mask 1901</p> 1902 </div> 1903</div> 1904 1905<a name='android_rs:rsgProgramStoreIsColorMaskRedEnabled'></a> 1906<div class='jd-details'> 1907 <h4 class='jd-details-title'> 1908 <span class='sympad'>rsgProgramStoreIsColorMaskRedEnabled</span> 1909 <span class='normal'>: Get program store red component color mask</span> 1910 </h4> 1911 <div class='jd-details-descr'> 1912 <table class='jd-tagtable'><tbody> 1913 <tr> 1914 <td>bool rsgProgramStoreIsColorMaskRedEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps); 1915</td> 1916 <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> 1917 </td> 1918 </tr> 1919 </tbody></table> 1920 </div> 1921 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1922 <table class='jd-tagtable'><tbody> 1923 <tr><th>ps</th><td>program store to query</td></tr> 1924 </tbody></table> 1925 </div> 1926 <div class='jd-tagdata jd-tagdescr'> 1927 <p><b>Deprecated.</b> Do not use.</p> 1928<p> Get program store red component color mask 1929</p> 1930 </div> 1931</div> 1932 1933<a name='android_rs:rsgProgramStoreIsDepthMaskEnabled'></a> 1934<div class='jd-details'> 1935 <h4 class='jd-details-title'> 1936 <span class='sympad'>rsgProgramStoreIsDepthMaskEnabled</span> 1937 <span class='normal'>: Get program store depth mask</span> 1938 </h4> 1939 <div class='jd-details-descr'> 1940 <table class='jd-tagtable'><tbody> 1941 <tr> 1942 <td>bool rsgProgramStoreIsDepthMaskEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps); 1943</td> 1944 <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> 1945 </td> 1946 </tr> 1947 </tbody></table> 1948 </div> 1949 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1950 <table class='jd-tagtable'><tbody> 1951 <tr><th>ps</th><td>program store to query</td></tr> 1952 </tbody></table> 1953 </div> 1954 <div class='jd-tagdata jd-tagdescr'> 1955 <p><b>Deprecated.</b> Do not use.</p> 1956<p> Get program store depth mask 1957</p> 1958 </div> 1959</div> 1960 1961<a name='android_rs:rsgProgramStoreIsDitherEnabled'></a> 1962<div class='jd-details'> 1963 <h4 class='jd-details-title'> 1964 <span class='sympad'>rsgProgramStoreIsDitherEnabled</span> 1965 <span class='normal'>: Get program store dither state</span> 1966 </h4> 1967 <div class='jd-details-descr'> 1968 <table class='jd-tagtable'><tbody> 1969 <tr> 1970 <td>bool rsgProgramStoreIsDitherEnabled(<a href='rs_graphics.html#android_rs:rs_program_store'>rs_program_store</a> ps); 1971</td> 1972 <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> 1973 </td> 1974 </tr> 1975 </tbody></table> 1976 </div> 1977 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 1978 <table class='jd-tagtable'><tbody> 1979 <tr><th>ps</th><td>program store to query</td></tr> 1980 </tbody></table> 1981 </div> 1982 <div class='jd-tagdata jd-tagdescr'> 1983 <p><b>Deprecated.</b> Do not use.</p> 1984<p> Get program store dither state 1985</p> 1986 </div> 1987</div> 1988 1989<a name='android_rs:rsgProgramVertexGetProjectionMatrix'></a> 1990<div class='jd-details'> 1991 <h4 class='jd-details-title'> 1992 <span class='sympad'>rsgProgramVertexGetProjectionMatrix</span> 1993 <span class='normal'>: Get the projection matrix for a fixed function vertex program</span> 1994 </h4> 1995 <div class='jd-details-descr'> 1996 <table class='jd-tagtable'><tbody> 1997 <tr> 1998 <td>void rsgProgramVertexGetProjectionMatrix(<a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* proj); 1999</td> 2000 <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> 2001 </td> 2002 </tr> 2003 </tbody></table> 2004 </div> 2005 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 2006 <table class='jd-tagtable'><tbody> 2007 <tr><th>proj</th><td>matrix to store the current projection matrix into</td></tr> 2008 </tbody></table> 2009 </div> 2010 <div class='jd-tagdata jd-tagdescr'> 2011 <p><b>Deprecated.</b> Do not use.</p> 2012<p> Get the projection matrix for a currently bound fixed function 2013vertex program. Calling this function with a custom vertex shader 2014would result in an error. 2015</p> 2016 </div> 2017</div> 2018 2019<a name='android_rs:rsgProgramVertexLoadModelMatrix'></a> 2020<div class='jd-details'> 2021 <h4 class='jd-details-title'> 2022 <span class='sympad'>rsgProgramVertexLoadModelMatrix</span> 2023 <span class='normal'>: Load the model matrix for a bound fixed function vertex program</span> 2024 </h4> 2025 <div class='jd-details-descr'> 2026 <table class='jd-tagtable'><tbody> 2027 <tr> 2028 <td>void rsgProgramVertexLoadModelMatrix(const <a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* model); 2029</td> 2030 <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> 2031 </td> 2032 </tr> 2033 </tbody></table> 2034 </div> 2035 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 2036 <table class='jd-tagtable'><tbody> 2037 <tr><th>model</th><td>model matrix</td></tr> 2038 </tbody></table> 2039 </div> 2040 <div class='jd-tagdata jd-tagdescr'> 2041 <p><b>Deprecated.</b> Do not use.</p> 2042<p> Load the model matrix for a currently bound fixed function 2043vertex program. Calling this function with a custom vertex shader 2044would result in an error. 2045</p> 2046 </div> 2047</div> 2048 2049<a name='android_rs:rsgProgramVertexLoadProjectionMatrix'></a> 2050<div class='jd-details'> 2051 <h4 class='jd-details-title'> 2052 <span class='sympad'>rsgProgramVertexLoadProjectionMatrix</span> 2053 <span class='normal'>: Load the projection matrix for a bound fixed function vertex program</span> 2054 </h4> 2055 <div class='jd-details-descr'> 2056 <table class='jd-tagtable'><tbody> 2057 <tr> 2058 <td>void rsgProgramVertexLoadProjectionMatrix(const <a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* proj); 2059</td> 2060 <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> 2061 </td> 2062 </tr> 2063 </tbody></table> 2064 </div> 2065 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 2066 <table class='jd-tagtable'><tbody> 2067 <tr><th>proj</th><td>projection matrix</td></tr> 2068 </tbody></table> 2069 </div> 2070 <div class='jd-tagdata jd-tagdescr'> 2071 <p><b>Deprecated.</b> Do not use.</p> 2072<p> Load the projection matrix for a currently bound fixed function 2073vertex program. Calling this function with a custom vertex shader 2074would result in an error. 2075</p> 2076 </div> 2077</div> 2078 2079<a name='android_rs:rsgProgramVertexLoadTextureMatrix'></a> 2080<div class='jd-details'> 2081 <h4 class='jd-details-title'> 2082 <span class='sympad'>rsgProgramVertexLoadTextureMatrix</span> 2083 <span class='normal'>: Load the texture matrix for a bound fixed function vertex program</span> 2084 </h4> 2085 <div class='jd-details-descr'> 2086 <table class='jd-tagtable'><tbody> 2087 <tr> 2088 <td>void rsgProgramVertexLoadTextureMatrix(const <a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* tex); 2089</td> 2090 <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> 2091 </td> 2092 </tr> 2093 </tbody></table> 2094 </div> 2095 <div class='jd-tagdata'> <h5 class='jd-tagtitle'>Parameters</h5> 2096 <table class='jd-tagtable'><tbody> 2097 <tr><th>tex</th><td>texture matrix</td></tr> 2098 </tbody></table> 2099 </div> 2100 <div class='jd-tagdata jd-tagdescr'> 2101 <p><b>Deprecated.</b> Do not use.</p> 2102<p> Load the texture matrix for a currently bound fixed function 2103vertex program. Calling this function with a custom vertex shader 2104would result in an error. 2105</p> 2106 </div> 2107</div> 2108 2109</div> 2110