MultisampleAmount MultisampleScreen

book_4_sparkGenerated
code_blocksInput

Description

The MultisampleScreen field is a member of the MultisampleAmount enumeration within the Sandbox namespace. This enumeration is used to specify the level of multisampling applied to rendering operations, which is a technique used to improve image quality by reducing aliasing.

The MultisampleScreen value is marked with the HideAttribute, indicating that it is not intended to be exposed or used directly in typical application code. This might be used internally by the engine or for specific advanced configurations.

Usage

Since MultisampleScreen is marked with HideAttribute, it is generally not intended for direct use in your code. Instead, you should use other values from the MultisampleAmount enumeration, such as Multisample2x, Multisample4x, etc., to configure multisampling levels in your rendering settings.

For example, to set a 4x multisampling level, you would use:

var multisampleLevel = MultisampleAmount.Multisample4x;

Example

// Example of setting a multisample level
var multisampleLevel = MultisampleAmount.Multisample4x;

// Note: MultisampleScreen is not intended for direct use due to HideAttribute
// var screenSampleLevel = MultisampleAmount.MultisampleScreen; // Not recommended