Function getGpuHandle

Synopsis

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

GpuHandle getGpuHandle(uint32_t rangeIndex, uint32_t descInRange=0) const

Description

No description yet.

Source

Lines 84-88 in Source/Falcor/Core/API/D3D12/D3D12DescriptorSet.cpp. Line 100 in Source/Falcor/Core/API/DescriptorSet.h.

DescriptorSet::GpuHandle DescriptorSet::getGpuHandle(uint32_t rangeIndex, uint32_t descInRange) const
{
    uint32_t index = mpApiData->rangeBaseOffset[rangeIndex] + descInRange;
    return mpApiData->pAllocation->getGpuHandle(index);
}





Add Discussion as Guest

Log in