Description
The Multisample6x
field is a member of the MultisampleAmount
enumeration within the Sandbox namespace. It represents a multisampling level of 6 samples per pixel, which is used to enhance the visual quality of rendered scenes by reducing aliasing effects.
Usage
Use Multisample6x
when you want to apply a moderate level of multisampling to your rendering pipeline. This setting is a balance between performance and visual quality, providing smoother edges and less aliasing compared to lower multisampling levels.
Example
// Example of setting the multisampling level to 6x in a rendering configuration
RenderSettings settings = new RenderSettings();
settings.MultisampleLevel = MultisampleAmount.Multisample6x;
// Apply the settings to the current scene
Scene.Current.ApplyRenderSettings(settings);