0

In Android RenderScript:

A kernel may not have more than one input or one output Allocation. If more than one input or output is required, those objects should be bound to rs_allocation script globals and accessed from a kernel or invokable function via rsGetElementAt_type() or rsSetElementAt_type().

Now I knew that the function rsGetElementAt_type() takes three parameters :

rs_allocation input , uint32_t x and uint 32_t y 

but I do not know how to set values of a global rsSetElementAt_type()

Can Anyone please tell me what parameters this function take and in which order?

I have searched android documentation and google but could not find it

soundslikeodd
  • 1,078
  • 3
  • 19
  • 32
Gaurav Maan
  • 339
  • 1
  • 2
  • 14

1 Answers1

2

It depends on the type contained in the Allocation, but you can find details Renderscript Runtime API Reference page.

Larry Schiefer
  • 15,687
  • 2
  • 27
  • 33