Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Async command buffer HDRP

Discussion in 'High Definition Render Pipeline' started by ignarmezh, Oct 5, 2023.

  1. ignarmezh


    Mar 23, 2017
    I want to dispatch custom command buffer (and compute shaders) in the async manner.

    I found that we can call function builder.EnableAsyncCompute() to execute computes asynchronously in SPR in custom solution. But as far as I understand, this can only be done by modifying the HDRP package by adding RenderPass to RenderGraph, like AO:

    Can I do it without modification HDRP package, for example in Custom pass?

    I also found a command Camera.AddCommandBufferAsync():
    But as far as I understand, it is only for Built-In? Is there such a function for HDRP?