Description
The MultisampleNone
field is a member of the MultisampleAmount
enumeration within the Sandbox namespace. It represents a setting where no multisampling is applied to the rendering process. Multisampling is a technique used in computer graphics to improve image quality by reducing aliasing, which is the visual stair-stepping effect that occurs on edges.
When MultisampleNone
is selected, the rendering engine will not perform any multisampling, which can result in faster rendering times at the cost of potentially lower image quality due to aliasing.
Usage
Use MultisampleNone
when you want to disable multisampling for performance reasons or when multisampling is not necessary for your application. This can be particularly useful in scenarios where rendering speed is more critical than image quality, such as in real-time simulations or when running on hardware with limited graphics capabilities.
Example
// Example of setting the multisample amount to none
Scene.Current.MultisampleAmount = MultisampleAmount.MultisampleNone;
// This will configure the current scene to render without any multisampling,
// potentially increasing performance at the cost of image quality.