Search Unity

How do i retrieve data asynchronously from a compute shader?

Discussion in 'Shaders' started by TheCelt, Jun 27, 2020.

  1. TheCelt

    TheCelt

    Joined:
    Feb 27, 2013
    Posts:
    742
    I want to retrieve a sizeable amount of data from the compute shader in C#, is it possible to do this Async or even in a different thread so i don't lock up my application in the process?
     
  2. Invertex

    Invertex

    Joined:
    Nov 7, 2013
    Posts:
    1,550
  3. TheCelt

    TheCelt

    Joined:
    Feb 27, 2013
    Posts:
    742
    Thanks ! :)