Search Unity

Job System & Drawing pixels to textures

Discussion in 'C# Job System' started by XazeRekt, May 29, 2018.

  1. XazeRekt

    XazeRekt

    Joined:
    Aug 21, 2016
    Posts:
    19
    Hello.
    Can I do everything with Job System?
    Cause i need to draw many pixels on texture and then place it on plane.
    Im curious if it's possible with job system and how would i do that?
     
  2. LennartJohansen

    LennartJohansen

    Joined:
    Dec 1, 2014
    Posts:
    2,394
  3. XazeRekt

    XazeRekt

    Joined:
    Aug 21, 2016
    Posts:
    19
    That's great news! I'll try to do that! Thank you
     
  4. LennartJohansen

    LennartJohansen

    Joined:
    Dec 1, 2014
    Posts:
    2,394
    you need to call Apply on the texture after you change the content to upload the changes to the GPU.
     
  5. XazeRekt

    XazeRekt

    Joined:
    Aug 21, 2016
    Posts:
    19
    Yeah i know. I have everything done. But i have never used job system before and im moving from coroutines to jobs