Function setRtBlend

Synopsis

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

Desc & setRtBlend(uint32_t rtIndex, bool enable)

Description

Enable/disable blending for a specific render-target. If independent blending is disabled, only the index 0 is used.

Source

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

Desc& setRtBlend(uint32_t rtIndex, bool enable) { mRtDesc[rtIndex].blendEnabled = enable; return *this; }





Add Discussion as Guest

Log in