Function addDescriptorSet

Synopsis

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

Desc & addDescriptorSet(const DescriptorSetLayout &setLayout)

Description

No description yet.

Source

Lines 37-43 in Source/Falcor/Core/API/RootSignature.cpp. Line 78 in Source/Falcor/Core/API/RootSignature.h.

RootSignature::Desc& RootSignature::Desc::addDescriptorSet(const DescriptorSetLayout& setLayout)
{
    assert(mRootConstants.empty()); // For now we disallow both root-constants and descriptor-sets
    assert(setLayout.getRangeCount());
    mSets.push_back(setLayout);
    return *this; 
}





Add Discussion as Guest

Log in to DocsForge