#Dynamic Buffers
1 messages · Page 1 of 1 (latest)
I know that it’s Allocated in the chunk if it’s within the size you declared with the attribute for buffer size
And outside the chunk if the size extends beyond that, but not entirely sure on exact technical implementation
Outside of chunk just does a normal malloc(persistent)
I see, there is no batching then or a memory pool
@worldly heath do you know where it happens on source code? the call to malloc?
I don`t really like how adding to dynamic buffers need a sync point. Is it true that it needs a sync point?
it does not
unless you mean on main thread?
in which case it needs to sync any job using it
Don`t it execute on main thread always? even if on job it is using CommandBuffers that execute on main thread
If you're just adding to a dynamicbuffer in a job there's no command buffer or main thread
Why would i use a dynamic buffer instead of unsafe list?
If i don`t need to bake it