2020-01-20から1日間の記事一覧
基本的にCommandBufferではなく、CommandBuffer.Concurrentを使う。 CollisionEventsJobやTriggerEventsJobでは、 [NativeSetThreadIndex] private int _threadIndex; のように宣言するとスレッドの番号を入手できるので、これをCommandBuffer.Concurrentの…
基本的にCommandBufferではなく、CommandBuffer.Concurrentを使う。 CollisionEventsJobやTriggerEventsJobでは、 [NativeSetThreadIndex] private int _threadIndex; のように宣言するとスレッドの番号を入手できるので、これをCommandBuffer.Concurrentの…