C language function:EvaluateAttributeSnapped sample codes

Search sample code in the internet.It is the result.

TITLE : EvaluateAttributeSnapped function (Windows)
numeric EvaluateAttributeSnapped(.......

When using MSAA with alpha test, you can run at the standard pixel rate, but manually use EvaluateAttributeSnapped() to super-sample the alpha test inside the shader and then manually set SV_Coverage to get an MSAAed edge. There are other tricks for soft particle blending, but out of time right now..........
search Google