Luna::RHI::Filter

enum Filter : u8
{
    nearest
    linear
}

Specifies the filtering mode for samplers.

Options

  • nearest

    The data is taken from the nearest pixel of the sample point.

  • linear

    The data is computed by linear interpolating between pixels around the sample point, using distances to such pixels as weights.