Search Unity

Question Accessing Elements in an AppendStructruedBuffer

Discussion in 'Shaders' started by thimler9, Jan 11, 2021.

  1. thimler9

    thimler9

    Joined:
    Sep 25, 2019
    Posts:
    10
    I'm new to HLSL, so I may be doing this wrong. But I am trying to access the elements of an AppendStructuredBuffer, but I cannot find a way of doing so.

    I've circumvented it but reading to the CPU and reading back to the GPU but that is obviously very costly. Is there an easy way of doing this from only the GPU?