Description
The WithScreenMultiSample
method is a member of the TextureCubeBuilder
class in the Sandbox namespace. This method configures the texture cube to use the same multisampling settings as the screen. Multisampling is a technique used to improve the quality of rendered images by reducing aliasing effects.
Usage
To use the WithScreenMultiSample
method, first create an instance of TextureCubeBuilder
. Then, call the WithScreenMultiSample
method on this instance to apply screen multisampling settings to the texture cube being built. This method can be chained with other configuration methods provided by TextureCubeBuilder
to further customize the texture cube.
Example
// Example of using WithScreenMultiSample
TextureCubeBuilder builder = new TextureCubeBuilder();
builder.WithScreenMultiSample();
Texture textureCube = builder.Finish();
// The textureCube now has screen multisampling settings applied.