Function setIndependentBlend

Synopsis

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

Desc & setIndependentBlend(bool enabled)

Description

Enable/disable independent blend modes for different render target. Only used when multiple render-targets are bound.

Parameters:

[ in ] enabled - True If false, will use RenderTargetDesc[0] for all the bound render-targets. Otherwise, will use the entire RenderTargetDesc[] array.

Source

Lines 90-90 in Source/Falcor/Core/API/BlendState.h.

Desc& setIndependentBlend(bool enabled) { mEnableIndependentBlend = enabled; return *this; }





Add Discussion as Guest

Log in to DocsForge