Function setFilterMode

Synopsis

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

Desc & setFilterMode(Filter minFilter, Filter magFilter, Filter mipFilter)

Description

Set the filter mode

Parameters:

[ in ] minFilter - Filter mode in case of minification.

[ in ] magFilter - Filter mode in case of magnification.

[ in ] mipFilter - Mip-level sampling mode

Source

Lines 51-57 in Source/Falcor/Core/API/Sampler.cpp. Line 76 in Source/Falcor/Core/API/Sampler.h.

Sampler::Desc& Sampler::Desc::setFilterMode(Filter minFilter, Filter magFilter, Filter mipFilter)
{
    mMagFilter = magFilter;
    mMinFilter = minFilter;
    mMipFilter = mipFilter;
    return *this;
}





Add Discussion as Guest

Log in to DocsForge