Click or drag to resize
Ab4d.SharpEngine logo

SharpEngineSceneViewGetDefaultMultiSampleCount Method

Returns the default multi-sampling count for the specified GPU device. This method return 4 for DiscreteGpu and IntegratedGpu and 1 for others. The method can be overriden to provide custom multi-sampling count based on the used device. This method is called only when the multi-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 int GetDefaultMultiSampleCount(
	PhysicalDeviceDetails physicalDeviceDetails
)

Parameters

physicalDeviceDetails  PhysicalDeviceDetails
PhysicalDeviceDetails of the VulkanDevice

Return Value

Int32
default multi-sample count

Implements

ISharpEngineSceneViewGetDefaultMultiSampleCount(PhysicalDeviceDetails)
See Also