android - How to get the element data type of an Allocation in RenderScript? -
for example, created allocation
allocation alloc = allocation.createtyped(mrs, anotheralloc.gettype());
then, want know info type of elements in alloc
. however, when phone call alloc.getelement().getdatatype()
, returns null
. right way this?
android renderscript
No comments:
Post a Comment