This method can be used to enable mutli-sample antialiasing.
Parameter | Description |
---|---|
mode | can be 0 (disabled), 2, 4, 8, 16, or 32 |
Not all hardware supports 32x antialiasing. For real-time applications, 0, 2, and 4 are the only values you will need, as higher values will cause much slower performance.