Click or drag to resize
Ab4d.SharpEngine logo

SharpEngineSceneViewGetDefaultSuperSamplingCount Method

Returns the default super-sampling count for the specified GPU device. This method return 4 for DiscreteGpu, 2 for non-mobile IntegratedGpu and 1 for others and also macOS and iOS. The method can be overriden to provide custom multi-sampling count based on the used device. This method is called only when the super-sampling is not set when calling Initialize method.

Namespace: Ab4d.SharpEngine.AvaloniaUI
Assembly: Ab4d.SharpEngine.AvaloniaUI (in Ab4d.SharpEngine.AvaloniaUI.dll) Version: 4.0.9584+1b7ee6bb29044dc79cb258fb9be4150ffbca20f3
Syntax
C#
public virtual float GetDefaultSuperSamplingCount(
	PhysicalDeviceDetails physicalDeviceDetails
)

Parameters

physicalDeviceDetails  PhysicalDeviceDetails
PhysicalDeviceDetails of the VulkanDevice

Return Value

Single
default super-sampling count

Implements

ISharpEngineSceneViewGetDefaultSuperSamplingCount(PhysicalDeviceDetails)
See Also