Function warningsAsErrors

Synopsis

#include <Source/Falcor/Core/Program/Program.h>

Desc & warningsAsErrors(bool enable)

Description

Enable/disable treat-warnings-as-error compilation flag

Source

Lines 84-84 in Source/Falcor/Core/Program/Program.h.

Desc& warningsAsErrors(bool enable) { enable ? mShaderFlags |= Shader::CompilerFlags::TreatWarningsAsErrors : mShaderFlags &= ~(Shader::CompilerFlags::TreatWarningsAsErrors); return *this; }





Add Discussion as Guest

Log in to DocsForge