Microsoft DirectX 8.1 (Visual Basic)

Antialiasing State

Antialiasing is a method of making lines and edges appear smoother on the screen. Microsoft® Direct3D® supports two antialiasing methods: edge antialiasing and full-scene antialiasing.

For details about these techniques, see Antialiasing.

By default, Direct3D does not perform antialiasing. To enable edge-antialiasing, which requires a second rendering pass, set the D3DRS_EDGEANTIALIAS render state to 1. To disable it, set D3DRS_EDGEANTIALIAS to 0.

To enable full-scene antialiasing, set the D3DRS_MULTISAMPLEANTIALIAS to 1. To disable it, set D3DRS_MULTISAMPLEANTIALIAS to 0.