Search Unity

  1. We have added a sub-forum for DOTS Graphics. Please use the new space for related discussions.
    Dismiss Notice

Allocator option use cases

Discussion in 'Data Oriented Technology Stack' started by twfarro, Jul 17, 2018.

  1. twfarro

    twfarro

    Joined:
    Nov 23, 2013
    Posts:
    21
    Hey all

    Can someone explain the use cases for the different Allocator options?

    I assumed Persistent was for when the NativeContainers were class member, not local variables, butt he examples in the Job Code Cookbook all make and dispose of NativeArrays using Persistent allocation in the update loop.

    Thanks!
     
  2. dartriminis

    dartriminis

    Joined:
    Feb 3, 2017
    Posts:
    157
unityunity