Function executeIndirect

Synopsis

#include <Source/Falcor/RenderGraph/BasePasses/ComputePass.h>

void executeIndirect(ComputeContext *context, const Buffer *pArgBuffer, uint64_t argBufferOffset=0)

Description

Execute the pass using indirect dispatch given the compute-context and argument buffer

Parameters:

[ in ] pContext - The compute context

[ in ] pArgBuffer - Argument buffer

[ in ] argBufferOffset - Offset in argument buffer

Source

Lines 62-66 in Source/Falcor/RenderGraph/BasePasses/ComputePass.cpp. Line 75 in Source/Falcor/RenderGraph/BasePasses/ComputePass.h.

void ComputePass::executeIndirect(ComputeContext* pContext, const Buffer* pArgBuffer, uint64_t argBufferOffset)
{
    assert(mpVars);
    pContext->dispatchIndirect(mpState.get(), mpVars.get(), pArgBuffer, argBufferOffset);
}





Add Discussion as Guest

Log in to DocsForge