Function bindForGraphics

Synopsis

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

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

Description

No description yet.

Source

Lines 111-114 in Source/Falcor/Core/API/D3D12/D3D12DescriptorSet.cpp. Line 109 in Source/Falcor/Core/API/DescriptorSet.h.

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





Add Discussion as Guest

Log in