Skip to content

SetSamplerFilterMin

Narta Xaymar Dirks edited this page Nov 25, 2026 · 6 revisions

SetSamplerFilterMin BlitzLLVM

SetSamplerFilterMin:Void sampler:Int32, mode:Int32
Parameter Mode Type Default Description
sampler In Int32 required The sampler to change.
mode In Int32 required The filter mode from the table above.

Description

BlitzLLVM This command does not exist in the original Blitz products. BlitzLLVM adds it.

Chooses how texels are read when a texture is drawn smaller than it is (minification). This is a BlitzLLVM extension: the originals read every texture with the settings of its flags and do not have samplers.

Mode Result
0 Nearest: the texel that is closest, which shows blocks.
1 Linear: blends the texels around the point, the default.

Differences

  • The mode has to be 0 or 1, other values stop the program with an error.

Related Commands

GetSamplerFilterMin BlitzLLVM, SetSamplerAddressModeU BlitzLLVM, SetSamplerAddressModeV BlitzLLVM, SetSamplerAddressModeW BlitzLLVM, SetSamplerAnisotropy BlitzLLVM, SetSamplerFilterMag BlitzLLVM, SetSamplerFilterMip BlitzLLVM, SetSamplerLodMin BlitzLLVM

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally