Function setComparisonMode

Synopsis

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

Desc & setComparisonMode(ComparisonMode mode)

Description

Set the sampler comparison mode

Source

Lines 73-77 in Source/Falcor/Core/API/Sampler.cpp. Line 91 in Source/Falcor/Core/API/Sampler.h.

Sampler::Desc& Sampler::Desc::setComparisonMode(ComparisonMode mode)
{
    mComparisonMode = mode;
    return *this;
}





Add Discussion as Guest

Log in