Function setSrv

Synopsis

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

void setSrv(uint32_t rangeIndex, uint32_t descIndex, const ShaderResourceView *pSrv)

Description

No description yet.

Source

Lines 96-99 in Source/Falcor/Core/API/D3D12/D3D12DescriptorSet.cpp. Line 104 in Source/Falcor/Core/API/DescriptorSet.h.

void DescriptorSet::setSrv(uint32_t rangeIndex, uint32_t descIndex, const ShaderResourceView* pSrv)
{
    setCpuHandle(this, rangeIndex, descIndex, pSrv->getApiHandle()->getCpuHandle(0));
}





Add Discussion as Guest

Log in