Function removeDefine

Synopsis

#include <Source/Falcor/RenderGraph/BasePasses/BaseGraphicsPass.h>

void removeDefine(const std::string &name, bool updateVars=false)

Description

Remove a define

Source

Lines 49-53 in Source/Falcor/RenderGraph/BasePasses/BaseGraphicsPass.cpp. Line 46 in Source/Falcor/RenderGraph/BasePasses/BaseGraphicsPass.h.

void BaseGraphicsPass::removeDefine(const std::string& name, bool updateVars)
{
    mpState->getProgram()->removeDefine(name);
    if (updateVars) mpVars = GraphicsVars::create(mpState->getProgram().get());
}





Add Discussion as Guest

Log in to DocsForge