Function setBorderColor

Synopsis

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

Desc & setBorderColor(const float4 &borderColor)

Description

Set the border color. Only applies when the addressing mode is ClampToBorder

Source

Lines 87-91 in Source/Falcor/Core/API/Sampler.cpp. Line 102 in Source/Falcor/Core/API/Sampler.h.

Sampler::Desc& Sampler::Desc::setBorderColor(const float4& borderColor)
{
    mBorderColor = borderColor;
    return *this;
}





Add Discussion as Guest

Log in to DocsForge