Name
sdl.SetScaleQuality -- set texture scale quality (V1.1)
Synopsis
sdl.SetScaleQuality(q$)
Function
This function can be used to specify how textures (or Hollywood hardware brushes, they are stored as textures internally) should be scaled. You have to pass a string in the q$ argument. The following scale modes are currently supported:

nearest:
No interpolation.

linear:
Linear filtering.

best:
Anisotropic filtering. This is currently only supported on Windows with Direct 3D.

Note that the scale mode is set when a texture (or hardware brush) is created so you need to call sdl.SetScaleQuality() before creating a hardware brush/texture. This also means that you cannot use it for brushes loaded in the preprocessor commands because those will always be loaded before the script execution starts.

Inputs
q$
desired scale quality (see above for possible values)

Show TOC