Description
The Multisample8x
field is a member of the MultisampleAmount
enumeration within the Sandbox namespace. It represents an 8x multisampling level, which is used to enhance the visual quality of rendered scenes by reducing aliasing effects. Multisampling is a technique used in graphics rendering to smooth out edges and improve image quality.
Usage
Use Multisample8x
when you want to apply 8x multisampling to your rendering pipeline. This setting is suitable for applications where high-quality rendering is required, and the performance impact of higher multisampling levels is acceptable.
Example
// Example of setting the multisampling level to 8x in a rendering configuration
var renderSettings = new RenderSettings();
renderSettings.MultisampleLevel = MultisampleAmount.Multisample8x;
// Apply the render settings to a scene
Scene.Current.ApplyRenderSettings(renderSettings);