Function setLodParams

Synopsis

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

Desc & setLodParams(float minLod, float maxLod, float lodBias)

Description

Set the lod clamp parameters

Parameters:

[ in ] minLod - Minimum LOD that will be used when sampling

[ in ] maxLod - Maximum LOD that will be used when sampling

[ in ] lodBias - Bias to apply to the LOD

Source

Lines 65-71 in Source/Falcor/Core/API/Sampler.cpp. Line 87 in Source/Falcor/Core/API/Sampler.h.

Sampler::Desc& Sampler::Desc::setLodParams(float minLod, float maxLod, float lodBias)
{
    mMinLod = minLod;
    mMaxLod = maxLod;
    mLodBias = lodBias;
    return *this;
}





Add Discussion as Guest

Log in to DocsForge