Description
The WithScreenMultiSample
method is a member of the Texture3DBuilder
class in the Sandbox namespace. This method configures the Texture3DBuilder
to use screen-based multi-sampling. Multi-sampling is a technique used to improve the quality of rendered images by reducing aliasing, which is the visual stair-stepping effect that can occur along the edges of objects.
Usage
To use the WithScreenMultiSample
method, first create an instance of Texture3DBuilder
. Then, call the WithScreenMultiSample
method on this instance to enable screen-based multi-sampling for the texture being built. This method can be chained with other configuration methods provided by Texture3DBuilder
to further customize the texture.
Example
// Example of using WithScreenMultiSample
Texture3DBuilder builder = new Texture3DBuilder();
builder.WithScreenMultiSample();
Texture texture = builder.Finish();
// The texture is now configured with screen-based multi-sampling.