# SetImageMinFilter

## Description

Sets the filter for textures when the texture is smaller than the screen space it is displayed in. You can use a mode of 0 to use the nearest pixel, which will appear blocky, or 1 to use a linear filter which will look blurry. When the image matches the screen space exactly then both filters will look the same when there is a slight difference, nearest tends to be sharper, but may flicker as it changes pixel choice.

## Definition

SetImageMinFilter( iImageIndex, mode )

void agk::SetImageMinFilter( UINT iImageIndex, UINT mode )

## Parameters

- iImageIndex - The ID of the image to change.
- mode - The filter mode to use, 0=nearest, 1=linear