M MY Multiplayer: Wiki
Side
Kind

engineSetAntiAliasing

Client

Chooses the image's anti-aliasing.

bool engineSetAntiAliasing(string mode)

Parameters

NameTypeDescription
modestringnone, fxaa or taa (temporal). Any other name raises an error.

Returns

true if the mode was applied. false if the renderer is not running or taa is not available on this device.

The setting applies to the whole client and stays after the resource stops.

Example

if not engineSetAntiAliasing("taa") then
    engineSetAntiAliasing("fxaa")
end

See also