lovr.graphics.getAlphaSampling

Returns whether or not alpha sampling is enabled. Alpha sampling is also known as alpha-to-coverage. When it is enabled, the alpha channel of a pixel is factored into how antialiasing is computed, so the edges of a transparent texture will be correctly antialiased.

enabled = lovr.graphics.getAlphaSampling()

Arguments

None

Returns

NameTypeDescription
enabledbooleanWhether or not alpha sampling is enabled.

Notes

See also