I\'m looking to return an array of struct from my renderscript kernel. My problem is that although I can create an array of the struct in java using the generated code and p
Actually you should use the copy1DRangeToUnchecked method of the Allocation class. You can copy it into your own ByteBuffer and deserialize it yourself.