Function remove

Summary

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

(1) DefineList & remove(const std::string &name)

(2) DefineList & remove(const DefineList &dl)

Function overload

Synopsis

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

DefineList & remove(const std::string &name)

Description

Removes a macro definition. If the macro doesn't exist, the call will be silently ignored.

Parameters:

[ in ] name - The name of macro.

Return
The updated list of macro definitions.

Source

Lines 168-168 in Source/Falcor/Core/API/Shader.h.

DefineList& remove(const std::string& name) { (*this).erase(name); return *this; }

Synopsis

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

DefineList & remove(const DefineList &dl)

Description

Remove a define list from the current list

Source

Lines 176-176 in Source/Falcor/Core/API/Shader.h.

DefineList& remove(const DefineList& dl) { for (const auto& p : dl) remove(p.first); return *this; }





Add Discussion as Guest

Log in to DocsForge