Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

How to use jobs to write in order to NativeList

$
0
0
How would one write in order to a NativeList?

Scenario:
A mathematically intensive task that doesn't have a dependency on the state of methodically identical parallel tasks will add (unknown prior) 0 - 5 items to a
[WriteOnly] NativeList
. While the order the work is done in doesn't matter, the order the items are added do.

So far:
I've written the job up just fine, but I'm not knowledgeable enough about this to know how to store the results correctly. I...

How to use jobs to write in order to NativeList

Viewing all articles
Browse latest Browse all 1466670

Trending Articles