Function addRootDescriptor

Synopsis

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

Desc & addRootDescriptor(DescType type, uint32_t regIndex, uint32_t spaceIndex, ShaderVisibility visibility=ShaderVisibility::All)

Description

No description yet.

Source

Lines 45-54 in Source/Falcor/Core/API/RootSignature.cpp. Line 79 in Source/Falcor/Core/API/RootSignature.h.

RootSignature::Desc& RootSignature::Desc::addRootDescriptor(DescType type, uint32_t regIndex, uint32_t spaceIndex, ShaderVisibility visibility)
{
    RootDescriptorDesc desc;
    desc.type = type;
    desc.regIndex = regIndex;
    desc.spaceIndex = spaceIndex;
    desc.visibility = visibility;
    mRootDescriptors.push_back(desc);
    return *this;
}





Add Discussion as Guest

Log in to DocsForge