Function bindForCompute

Synopsis

#include <Source/Falcor/Core/API/DescriptorSet.h>

void bindForCompute(CopyContext *pCtx, const RootSignature *pRootSig, uint32_t rootIndex)

Description

No description yet.

Source

Lines 116-119 in Source/Falcor/Core/API/D3D12/D3D12DescriptorSet.cpp. Line 110 in Source/Falcor/Core/API/DescriptorSet.h.

void DescriptorSet::bindForCompute(CopyContext* pCtx, const RootSignature* pRootSig, uint32_t rootIndex)
{
    pCtx->getLowLevelData()->getCommandList()->SetComputeRootDescriptorTable(rootIndex, getGpuHandle(0));
}





Add Discussion as Guest

Log in