ICanvasRenderingContext without AA possible?

Hi,
is there any way to draw lines and polygons on a texture context without Antialiasing? I need this for technical rendering, where interpolation would be a dealbreaker.
I would hate having to use a third party lib here.

I tried texture.updateSamplingMode(BABYLON.Texture.NEAREST_NEAREST), which of course only works for the rendering, not the polygon creation.

Thanks!

Have you turned off engine antialiasing? Engine | Babylon.js Documentation (babylonjs.com)

That would turn off AA the whole rendering context, but I only need this for the texture generation.
For the texture drawing it has no effect.

This seem to be a solution, if anyone is interested: