Description
The WithMultiSample6X
method is a member of the Texture3DBuilder
class in the Sandbox namespace. This method configures the texture to use 6x multisampling, which can improve the visual quality by reducing aliasing effects at the cost of increased memory usage and processing power.
Usage
To use the WithMultiSample6X
method, you must first create an instance of Texture3DBuilder
. Then, call the method on this instance to set the multisampling level to 6x. This method is chainable, meaning you can call other configuration methods on the same instance before finalizing the texture creation with the Finish
method.
Example
// Example of using WithMultiSample6X
Texture3DBuilder builder = new Texture3DBuilder();
Texture texture = builder
.WithSize(256, 256, 256)
.WithFormat(ImageFormat.RGBA8)
.WithMultiSample6X()
.Finish();
// The texture is now configured with 6x multisampling.