Function setAddressingMode

Synopsis

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

Desc & setAddressingMode(AddressMode modeU, AddressMode modeV, AddressMode modeW)

Description

Set the sampler addressing mode

Parameters:

[ in ] modeU - Addressing mode for U texcoord channel

[ in ] modeV - Addressing mode for V texcoord channel

[ in ] modeW - Addressing mode for W texcoord channel

Source

Lines 79-85 in Source/Falcor/Core/API/Sampler.cpp. Line 98 in Source/Falcor/Core/API/Sampler.h.

Sampler::Desc& Sampler::Desc::setAddressingMode(AddressMode modeU, AddressMode modeV, AddressMode modeW)
{
    mModeU = modeU;
    mModeV = modeV;
    mModeW = modeW;
    return *this;
}





Add Discussion as Guest

Log in to DocsForge