Description
The Multisample8x
field is a member of the MultisampleAmount
enumeration within the Sandbox namespace. It represents a multisampling level of 8 samples per pixel, which is used to enhance the visual quality of rendered scenes by reducing aliasing effects. This level of multisampling provides a balance between performance and visual fidelity, making it suitable for applications where high-quality rendering is desired without significantly impacting performance.
Usage
To use the Multisample8x
field, you can assign it to properties or methods that require a multisampling level. This is typically used in graphics settings or rendering configurations where you want to specify the level of multisampling to be applied.
Example
// Example of setting a multisampling level in a rendering configuration
var renderingConfig = new RenderingConfiguration();
renderingConfig.MultisampleLevel = MultisampleAmount.Multisample8x;
// Apply the configuration to a scene
Scene.Current.ApplyRenderingConfiguration(renderingConfig);