Function removeDefine

Synopsis

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

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

Description

Remove a define

Source

Lines 74-78 in Source/Falcor/RenderGraph/BasePasses/ComputePass.cpp. Line 89 in Source/Falcor/RenderGraph/BasePasses/ComputePass.h.

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





Add Discussion as Guest

Log in to DocsForge