Click or drag to resize
Ab4d.SharpEngine logo

SceneViewSupersamplingCount Property

SupersamplingCount gets the super-sampling count (SSAA) that is used by this SceneView. This value can be set when calling Initialize method or after the SceneView is initialized by calling the Resize method. Default value is 1 (no super-sampling). See remarks for more info.

Namespace: Ab4d.SharpEngine
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public float SupersamplingCount { get; }

Property Value

Single

[Missing <value> documentation for "P:Ab4d.SharpEngine.SceneView.SupersamplingCount"]

Remarks

SupersamplingCount gets the super-sampling count (SSAA) that is used by this SceneView.

Super-sampling count defines how many more pixels are rendered for each final pixel.

This value can be set when calling Initialize method or after the SceneView is initialized by calling the Resize method.

When SSAA is more than 1, then the rendering is done on a scaled texture that has SupersamplingCount-times more pixels that the final texture (width and height are scaled by the SupersamplingFactor and set to RenderWidth and RenderHeight) At the end of the rendering this super-scaled texture is down-sampled into the texture with the final size (defined by Width and Height).

Value 4 means that width and height are multiplied by 2 and this produces a texture with 4 times as many pixels. Value 2 means that width and height are multiplied by 1.41 (sqrt(2) = 1.41) and this produces a texture with 2 times as many pixels.

Default value is 1 (no super-sampling).

See Also